Problem: redundant else after return

Solution: remove else
This commit is contained in:
Simon Giesecke
2019-12-08 15:04:50 +01:00
committed by Simon Giesecke
parent 1d9c6bcf09
commit cb2b377d9f
16 changed files with 49 additions and 53 deletions

View File

@@ -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 ()