]> The Tcpdump Group git mirrors - tcpdump/commitdiff
Frame Relay: denote a genuine fall through case
authorDenis Ovsienko <[email protected]>
Fri, 21 Jul 2017 21:58:35 +0000 (22:58 +0100)
committerDenis Ovsienko <[email protected]>
Sat, 22 Jul 2017 18:35:06 +0000 (19:35 +0100)
The source code comment explains it should fall through but GCC does not
pick it up, that's what the new macro is for.

./print-fr.c: In function ‘mfr_print’:
./print-fr.c:510:20: warning: this statement may fall through [-Wimplicit-fallthrough=]
                 if (ie_len == sizeof(struct timeval)) {
                    ^
./print-fr.c:521:13: note: here
             case MFR_CTRL_IE_VENDOR_EXT:
             ^~~~


No differences found