mirror of
https://github.com/zeromq/libzmq.git
synced 2025-10-20 14:02:41 +02:00
Silence all "unused parameter" warnings from Clang.
Compiling without warnings is a good goal, because it makes new warnings (which probably indicate bugs) stand out rather than getting lost in the spam. My fixes fall into two categories: - Adding (void) casts of unused parameters, where their unusedness seems like a TODO (or in some cases a bug?). - Removing parameter names altogether, where the function is clearly a stub that will never use its parameters. Should be no change in behavior.
This commit is contained in:
@@ -279,7 +279,7 @@ void zmq::session_base_t::write_activated (pipe_t *pipe_)
|
||||
engine->activate_in ();
|
||||
}
|
||||
|
||||
void zmq::session_base_t::hiccuped (pipe_t *pipe_)
|
||||
void zmq::session_base_t::hiccuped (pipe_t *)
|
||||
{
|
||||
// Hiccups are always sent from session to socket, not the other
|
||||
// way round.
|
||||
|
Reference in New Issue
Block a user