Commit 8feed48b authored by Luca Boccassi's avatar Luca Boccassi

Problem: switch statements without breaks

Solution: add /* FALLTHROUGH */ comments so that nagging compilers
don't nag
parent 31089326
......@@ -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)
......
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