diff 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
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/