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:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user