Commit de46fc6a authored by Luca Boccassi's avatar Luca Boccassi

Problem: can't do anything with load.sub ret val

Solution: don't store it in zmq::poller_base_t::adjust_load, as the
build with Werror=unused=variable will fail otherwise.
parent 14054d28
......@@ -53,7 +53,7 @@ void zmq::poller_base_t::adjust_load (int amount_)
load.add (amount_);
else
if (amount_ < 0)
bool reset = load.sub (-amount_);
load.sub (-amount_);
}
void zmq::poller_base_t::add_timer (int timeout_, i_poll_events *sink_, int id_)
......
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