0
0
mirror of https://github.com/zeromq/libzmq.git synced 2024-12-29 08:39:42 +08:00

Fix unused variable when using eventfd

This commit is contained in:
Matt Connolly 2013-09-02 06:49:30 +10:00
parent a3d9d01af8
commit c3adc86d6b

View File

@ -267,7 +267,9 @@ void zmq::signaler_t::recv ()
void zmq::signaler_t::forked()
{
int oldr = r;
#if !defined ZMQ_HAVE_EVENTFD
int oldw = w;
#endif
// replace the file descriptors created in the parent with new
// ones, and close the inherited ones