mirror of
https://github.com/zeromq/libzmq.git
synced 2024-12-31 01:43:02 +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()
|
void zmq::signaler_t::forked()
|
||||||
{
|
{
|
||||||
int oldr = r;
|
int oldr = r;
|
||||||
|
#if !defined ZMQ_HAVE_EVENTFD
|
||||||
int oldw = w;
|
int oldw = w;
|
||||||
|
#endif
|
||||||
|
|
||||||
// replace the file descriptors created in the parent with new
|
// replace the file descriptors created in the parent with new
|
||||||
// ones, and close the inherited ones
|
// ones, and close the inherited ones
|
||||||
|
Loading…
x
Reference in New Issue
Block a user