diff --git a/tests/test_msg_ffn.cpp b/tests/test_msg_ffn.cpp index d2a8307f..4e2cccdd 100644 --- a/tests/test_msg_ffn.cpp +++ b/tests/test_msg_ffn.cpp @@ -27,12 +27,11 @@ along with this program. If not, see . */ -#include "macros.hpp" #include "testutil.hpp" void ffn(void *data, void *hint) { - LIBZMQ_UNUSED (data); // Signal that ffn has been called by writing "freed" to hint + (void) data; // Suppress 'unused' warnings at compile time memcpy(hint, (void *) "freed", 5); }