diff libtomcrypt/src/hashes/helper/hash_file.c @ 1091:eef377591301

Fix unused parameters warnings [-Werror=unused-parameter]
author Gaël PORTAY <gael.portay@gmail.com>
date Sat, 02 May 2015 12:16:06 +0200
parents 0cbe8f6dbf9e
children f849a5ca2efc
line wrap: on
line diff
--- a/libtomcrypt/src/hashes/helper/hash_file.c	Sat May 02 11:26:22 2015 +0200
+++ b/libtomcrypt/src/hashes/helper/hash_file.c	Sat May 02 12:16:06 2015 +0200
@@ -25,6 +25,7 @@
 int hash_file(int hash, const char *fname, unsigned char *out, unsigned long *outlen)
 {
 #ifdef LTC_NO_FILE
+    (void)hash; (void)fname; (void)out; (void)outlen;
     return CRYPT_NOP;
 #else
     FILE *in;