summaryrefslogtreecommitdiff
path: root/tests/unit/core/test-arraylist.cpp
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2015-03-06 19:24:24 +0100
committerSébastien Helleu <flashcode@flashtux.org>2015-03-06 19:24:24 +0100
commitcace7471f0aef6b2febd3241f1faaed870cc0af6 (patch)
tree18dab3d850e1ec80aa2ba02a118e15f21b807335 /tests/unit/core/test-arraylist.cpp
parentd9251df1a367f494699d0f7630e68e1125709e1f (diff)
downloadweechat-cace7471f0aef6b2febd3241f1faaed870cc0af6.zip
tests: remove compiler warnings about unused parameters
Diffstat (limited to 'tests/unit/core/test-arraylist.cpp')
-rw-r--r--tests/unit/core/test-arraylist.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/unit/core/test-arraylist.cpp b/tests/unit/core/test-arraylist.cpp
index e4ab3a1a7..8564b5589 100644
--- a/tests/unit/core/test-arraylist.cpp
+++ b/tests/unit/core/test-arraylist.cpp
@@ -65,6 +65,10 @@ int
test_cmp_cb (void *data, struct t_arraylist *arraylist,
void *pointer1, void *pointer2)
{
+ /* make C++ compiler happy */
+ (void) data;
+ (void) arraylist;
+
if (!pointer1 || !pointer2)
return (pointer1) ? 1 : ((pointer2) ? -1 : 0);