# HG changeset patch # User Gaƫl PORTAY # Date 1430561766 -7200 # Node ID eef3775913015eebfd654537b15f1d318feed400 # Parent 93e1a0eb40ef0396df146754b987fbdeae767859 Fix unused parameters warnings [-Werror=unused-parameter] diff -r 93e1a0eb40ef -r eef377591301 libtomcrypt/src/ciphers/aes/aes.c --- a/libtomcrypt/src/ciphers/aes/aes.c Sat May 02 11:26:22 2015 +0200 +++ b/libtomcrypt/src/ciphers/aes/aes.c Sat May 02 12:16:06 2015 +0200 @@ -728,6 +728,7 @@ */ void ECB_DONE(symmetric_key *skey) { + (void)skey; } diff -r 93e1a0eb40ef -r eef377591301 libtomcrypt/src/ciphers/des.c --- a/libtomcrypt/src/ciphers/des.c Sat May 02 11:26:22 2015 +0200 +++ b/libtomcrypt/src/ciphers/des.c Sat May 02 12:16:06 2015 +0200 @@ -1871,6 +1871,7 @@ */ void des3_done(symmetric_key *skey) { + (void)skey; } diff -r 93e1a0eb40ef -r eef377591301 libtomcrypt/src/ciphers/twofish/twofish.c --- a/libtomcrypt/src/ciphers/twofish/twofish.c Sat May 02 11:26:22 2015 +0200 +++ b/libtomcrypt/src/ciphers/twofish/twofish.c Sat May 02 12:16:06 2015 +0200 @@ -684,6 +684,7 @@ */ void twofish_done(symmetric_key *skey) { + (void)skey; } /** diff -r 93e1a0eb40ef -r eef377591301 libtomcrypt/src/hashes/helper/hash_file.c --- 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; diff -r 93e1a0eb40ef -r eef377591301 libtomcrypt/src/hashes/helper/hash_filehandle.c --- a/libtomcrypt/src/hashes/helper/hash_filehandle.c Sat May 02 11:26:22 2015 +0200 +++ b/libtomcrypt/src/hashes/helper/hash_filehandle.c Sat May 02 12:16:06 2015 +0200 @@ -26,6 +26,7 @@ int hash_filehandle(int hash, FILE *in, unsigned char *out, unsigned long *outlen) { #ifdef LTC_NO_FILE + (void)hash; (void)in; (void)out; (void)outlen; return CRYPT_NOP; #else hash_state md; diff -r 93e1a0eb40ef -r eef377591301 libtomcrypt/src/mac/hmac/hmac_file.c --- a/libtomcrypt/src/mac/hmac/hmac_file.c Sat May 02 11:26:22 2015 +0200 +++ b/libtomcrypt/src/mac/hmac/hmac_file.c Sat May 02 12:16:06 2015 +0200 @@ -32,6 +32,7 @@ unsigned char *out, unsigned long *outlen) { #ifdef LTC_NO_FILE + (void)hash; (void)fname; (void)key; (void)keylen; (void)out; (void)outlen; return CRYPT_NOP; #else hmac_state hmac;