0
0
mirror of https://github.com/zeromq/libzmq.git synced 2024-12-31 01:43:02 +08:00

Problem: hint parameter throws unused warning

Solution:
Mark it with LIBZMQ_UNUSED macro as per convention.
This commit is contained in:
hitstergtd 2016-05-10 18:22:15 +01:00
parent dc7296537c
commit 5efa11828c

View File

@ -28,6 +28,7 @@
*/ */
#include "precompiled.hpp" #include "precompiled.hpp"
#include "macros.hpp"
#include "req.hpp" #include "req.hpp"
#include "err.hpp" #include "err.hpp"
#include "msg.hpp" #include "msg.hpp"
@ -39,6 +40,7 @@ extern "C"
{ {
static void free_id (void *data, void *hint) static void free_id (void *data, void *hint)
{ {
LIBZMQ_UNUSED (hint);
free (data); free (data);
} }
} }