place a ZMQ_UNUSED macro and replace all unused variables with ZMQ_UNUSED macro

This commit is contained in:
reza.ebrahimi
2015-08-14 15:40:39 +04:30
parent bf27d58b7a
commit bff2284a50
12 changed files with 25 additions and 28 deletions

View File

@@ -493,6 +493,12 @@ ZMQ_EXPORT void *zmq_threadstart (zmq_thread_fn* func, void* arg);
ZMQ_EXPORT void zmq_threadclose (void* thread);
/******************************************************************************/
/* 0MQ General */
/******************************************************************************/
#define ZMQ_UNUSED(object) (void)object
#undef ZMQ_EXPORT
#ifdef __cplusplus