Commit 5efa1182 authored by hitstergtd's avatar hitstergtd

Problem: hint parameter throws unused warning

Solution:
Mark it with LIBZMQ_UNUSED macro as per convention.
parent dc729653
...@@ -28,6 +28,7 @@ ...@@ -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" ...@@ -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);
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment