mirror of
https://github.com/zeromq/libzmq.git
synced 2025-11-06 21:56:25 +01:00
Problem: redundant else after return
Solution: remove else
This commit is contained in:
committed by
Simon Giesecke
parent
1d9c6bcf09
commit
cb2b377d9f
@@ -128,8 +128,8 @@ int forward (class zmq::socket_base_t *from_,
|
||||
if (rc < 0) {
|
||||
if (likely (errno == EAGAIN && i > 0))
|
||||
return 0; // End of burst
|
||||
else
|
||||
return -1;
|
||||
|
||||
return -1;
|
||||
}
|
||||
|
||||
complete_msg_size += msg_->size ();
|
||||
|
||||
Reference in New Issue
Block a user