mirror of
https://github.com/zeromq/libzmq.git
synced 2024-12-28 16:15:23 +08:00
Problem: hint parameter throws unused warning
Solution: Mark it with LIBZMQ_UNUSED macro as per convention.
This commit is contained in:
parent
dc7296537c
commit
5efa11828c
@ -28,6 +28,7 @@
|
||||
*/
|
||||
|
||||
#include "precompiled.hpp"
|
||||
#include "macros.hpp"
|
||||
#include "req.hpp"
|
||||
#include "err.hpp"
|
||||
#include "msg.hpp"
|
||||
@ -39,6 +40,7 @@ extern "C"
|
||||
{
|
||||
static void free_id (void *data, void *hint)
|
||||
{
|
||||
LIBZMQ_UNUSED (hint);
|
||||
free (data);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user