changeset 590:c93730ef2a3a

Fix Linux build (unused variables)
author Andre Heinecke <aheinecke@intevation.de>
date Wed, 28 May 2014 07:55:35 +0000
parents 29f703b0cc3c
children 26a18e3c3db4
files common/binverify.c
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/common/binverify.c	Wed May 28 07:39:09 2014 +0000
+++ b/common/binverify.c	Wed May 28 07:55:35 2014 +0000
@@ -17,7 +17,9 @@
   return verify_binary_win(filename, name_len);
 #else
   /* TODO */
-  return VerifyValid;
+  if (filename && name_len)
+    return VerifyValid;
+  return VerifyUnknownError;
 #endif
 }
 

http://wald.intevation.org/projects/trustbridge/