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:
Arthur O'Dwyer
2012-08-27 16:05:51 -07:00
parent 7fa4d423b8
commit 3b984d40e9
23 changed files with 84 additions and 30 deletions

View File

@@ -102,7 +102,7 @@ void zmq::io_object_t::out_event ()
zmq_assert (false);
}
void zmq::io_object_t::timer_event (int id_)
void zmq::io_object_t::timer_event (int)
{
zmq_assert (false);
}