1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-25 20:36:38 +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
+4
View File
@@ -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);