Commit e19823d8 authored by Simon Giesecke's avatar Simon Giesecke

Problem: redundant else

Solution: remove redundant else
parent ad781319
......@@ -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_);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment