1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-01 07:16:37 +02:00

tests: remove compiler warnings about unused parameters

This commit is contained in:
Sébastien Helleu
2015-03-06 19:24:24 +01:00
parent d9251df1a3
commit cace7471f0
3 changed files with 13 additions and 0 deletions
+6
View File
@@ -58,6 +58,9 @@ TEST(Hashtable, HashDbj2)
unsigned long long
test_hashtable_hash_key_cb (struct t_hashtable *hashtable, const void *key)
{
/* make C++ compiler happy */
(void) hashtable;
return hashtable_hash_key_djb2 ((const char *)key) + 1;
}
@@ -71,6 +74,9 @@ int
test_hashtable_keycmp_cb (struct t_hashtable *hashtable,
const void *key1, const void *key2)
{
/* make C++ compiler happy */
(void) hashtable;
return strcmp ((const char *)key1, (const char *)key2);
}