[PATCH 1 of 3] Fix Linux build (unused variables)
Wald Commits
scm-commit at wald.intevation.org
Wed May 28 10:36:08 CEST 2014
# HG changeset patch
# User Andre Heinecke <aheinecke at intevation.de>
# Date 1401263735 0
# Node ID c93730ef2a3aed716e5f97ec131971801a77dd88
# Parent 29f703b0cc3ccf827b1d25110ade7df2af20a749
Fix Linux build (unused variables)
diff -r 29f703b0cc3c -r c93730ef2a3a common/binverify.c
--- 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
}
More information about the Trustbridge-commits
mailing list