Skip to content

Commit cacfc2d

Browse files
authored
Merge pull request #651 from libtom/pr/fix-warning-unusedvar-tiger
fix unused variable warning in hashes/tiger
2 parents 1405c73 + 90529a2 commit cacfc2d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/hashes/tiger.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -791,9 +791,10 @@ int tiger_done(hash_state * md, unsigned char *out)
791791
Self-test the hash
792792
@return CRYPT_OK if successful, CRYPT_NOP if self-tests have been disabled
793793
*/
794-
int s_tiger_test(unsigned int idx)
794+
static int s_tiger_test(unsigned int idx)
795795
{
796796
#ifndef LTC_TEST
797+
LTC_UNUSED_PARAM(idx);
797798
return CRYPT_NOP;
798799
#else
799800
static const struct {

0 commit comments

Comments
 (0)