mirror of
https://github.com/zeromq/libzmq.git
synced 2025-11-08 06:42:57 +01:00
Problem: redundant else after return
Solution: remove else
This commit is contained in:
committed by
Simon Giesecke
parent
1d9c6bcf09
commit
cb2b377d9f
@@ -274,8 +274,8 @@ zmq::mechanism_t::status_t zap_client_common_handshake_t::status () const
|
||||
return mechanism_t::ready;
|
||||
if (state == error_sent)
|
||||
return mechanism_t::error;
|
||||
else
|
||||
return mechanism_t::handshaking;
|
||||
|
||||
return mechanism_t::handshaking;
|
||||
}
|
||||
|
||||
int zap_client_common_handshake_t::zap_msg_available ()
|
||||
|
||||
Reference in New Issue
Block a user