mirror of
https://github.com/zeromq/libzmq.git
synced 2024-12-13 10:52:56 +01:00
Problem: redundant else
Solution: remove redundant else
This commit is contained in:
parent
ad781319ef
commit
e19823d83a
@ -299,7 +299,8 @@ int zmq::req_session_t::push_msg (msg_t *msg_)
|
||||
if (msg_->size () == sizeof (uint32_t)) {
|
||||
state = request_id;
|
||||
return session_base_t::push_msg (msg_);
|
||||
} else if (msg_->size () == 0) {
|
||||
}
|
||||
if (msg_->size () == 0) {
|
||||
state = body;
|
||||
return session_base_t::push_msg (msg_);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user