Replace /* fallthrouth*/ by __attribute__ ((fallthrough));
authorAndre Noll <maan@tuebingen.mpg.de>
Mon, 1 Jun 2020 17:28:01 +0000 (19:28 +0200)
committerAndre Noll <maan@tuebingen.mpg.de>
Thu, 17 Sep 2020 15:43:02 +0000 (17:43 +0200)
commitb557d3ed0f0ea2a5f15c25ca5f3ee372e5479990
treeb023f8baae85d02217bf00a88e4df1e9f1cd31f1
parent3685a9093ae12ff9ce02fc58e607eb9b63894443
Replace /* fallthrouth*/ by __attribute__ ((fallthrough));

Some (recent) gcc versions still complain because the switch case
falls through. The new code causes a warning on old compilers which
don't know the fallthrough attribute, but this is still better than
seeing the warning on systems with a recent compiler.
client_common.c