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:
parent
a3d9d01af8
commit
c3adc86d6b
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user