mirror of
https://github.com/zeromq/libzmq.git
synced 2025-10-27 02:53:12 +01:00
place a ZMQ_UNUSED macro and replace all unused variables with ZMQ_UNUSED macro
This commit is contained in:
@@ -66,8 +66,7 @@ zmq::router_t::~router_t ()
|
||||
|
||||
void zmq::router_t::xattach_pipe (pipe_t *pipe_, bool subscribe_to_all_)
|
||||
{
|
||||
// subscribe_to_all_ is unused
|
||||
(void)subscribe_to_all_;
|
||||
ZMQ_UNUSED(subscribe_to_all_);
|
||||
|
||||
zmq_assert (pipe_);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user