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.
This commit is contained in:
Luca Boccassi 2016-02-21 23:28:54 +00:00
parent 14054d28ed
commit de46fc6ac9

View File

@ -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_)