mirror of
https://github.com/weechat/weechat.git
synced 2026-06-27 05:16:38 +02:00
tests: remove compiler warnings about unused parameters
This commit is contained in:
@@ -567,6 +567,9 @@ TEST(String, Highlight)
|
||||
char *
|
||||
test_replace_cb (void *data, const char *text)
|
||||
{
|
||||
/* make C++ compiler happy */
|
||||
(void) data;
|
||||
|
||||
if (strcmp (text, "abc") == 0)
|
||||
return strdup ("def");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user