Commit c8d039a3 authored by Luca Boccassi's avatar Luca Boccassi

Problem: unused variable warning in thread_start on !Linux

Solution: use LIBZMQ_UNUSED
parent f7ca7515
......@@ -54,6 +54,7 @@ static unsigned int __stdcall thread_routine (void *arg_)
void zmq::thread_t::start (thread_fn *tfn_, void *arg_, const char *name_)
{
LIBZMQ_UNUSED (name_);
_tfn = tfn_;
_arg = arg_;
#if defined _WIN32_WCE
......@@ -111,6 +112,7 @@ static void *thread_routine (void *arg_)
void zmq::thread_t::start (thread_fn *tfn_, void *arg_, const char *name_)
{
LIBZMQ_UNUSED (name_);
_tfn = tfn_;
_arg = arg_;
_descriptor = taskSpawn (NULL, DEFAULT_PRIORITY, DEFAULT_OPTIONS,
......
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