mirror of
https://github.com/zeromq/libzmq.git
synced 2025-01-01 19:05:18 +08:00
Problem: switch statements without breaks
Solution: add /* FALLTHROUGH */ comments so that nagging compilers don't nag
This commit is contained in:
parent
31089326fb
commit
8feed48bb9
@ -433,11 +433,13 @@ void zmq::session_base_t::engine_error (
|
||||
|
||||
switch (reason) {
|
||||
case stream_engine_t::timeout_error:
|
||||
/* FALLTHROUGH */
|
||||
case stream_engine_t::connection_error:
|
||||
if (active) {
|
||||
reconnect ();
|
||||
break;
|
||||
}
|
||||
/* FALLTHROUGH */
|
||||
case stream_engine_t::protocol_error:
|
||||
if (pending) {
|
||||
if (pipe)
|
||||
|
Loading…
x
Reference in New Issue
Block a user