diff options
author | David Robillard <d@drobilla.net> | 2019-10-18 17:00:48 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2019-10-18 17:07:56 +0200 |
commit | ced30ed4b498c34b9aaf69bdcae12f3cedb43af8 (patch) | |
tree | 23e3f002821bd360018bc08ad8a879eb548640d0 /test/hash_test.c | |
parent | e36a086818936d921d7303e45d6180a948ef3196 (diff) | |
download | zix-ced30ed4b498c34b9aaf69bdcae12f3cedb43af8.tar.gz zix-ced30ed4b498c34b9aaf69bdcae12f3cedb43af8.tar.bz2 zix-ced30ed4b498c34b9aaf69bdcae12f3cedb43af8.zip |
Fix unused parameter warnings
Diffstat (limited to 'test/hash_test.c')
-rw-r--r-- | test/hash_test.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/hash_test.c b/test/hash_test.c index 874bdff..c2ecb2d 100644 --- a/test/hash_test.c +++ b/test/hash_test.c @@ -61,7 +61,7 @@ test_fail(const char* fmt, ...) static unsigned n_checked = 0; static void -check(void* value, void* user_data) +check(void* value, ZIX_UNUSED void* user_data) { if (strlen(*(const char*const*)value) >= 3) { ++n_checked; @@ -199,7 +199,7 @@ stress(void) } int -main(int argc, char** argv) +main(void) { if (stress()) { return 1; |