Mercurial > trustbridge
comparison common/binverify.c @ 590:c93730ef2a3a
Fix Linux build (unused variables)
author | Andre Heinecke <aheinecke@intevation.de> |
---|---|
date | Wed, 28 May 2014 07:55:35 +0000 |
parents | ecfd77751daf |
children | 26a18e3c3db4 |
comparison
equal
deleted
inserted
replaced
589:29f703b0cc3c | 590:c93730ef2a3a |
---|---|
15 verify_binary(const char *filename, size_t name_len) { | 15 verify_binary(const char *filename, size_t name_len) { |
16 #ifdef WIN32 | 16 #ifdef WIN32 |
17 return verify_binary_win(filename, name_len); | 17 return verify_binary_win(filename, name_len); |
18 #else | 18 #else |
19 /* TODO */ | 19 /* TODO */ |
20 return VerifyValid; | 20 if (filename && name_len) |
21 return VerifyValid; | |
22 return VerifyUnknownError; | |
21 #endif | 23 #endif |
22 } | 24 } |
23 | 25 |
24 #ifdef WIN32 | 26 #ifdef WIN32 |
25 | 27 |