]> The Tcpdump Group git mirrors - tcpdump/commit
CLNP: squelch a fall-through warning (GH #618)
authorDenis Ovsienko <[email protected]>
Thu, 26 Jul 2018 12:16:11 +0000 (13:16 +0100)
committerDenis Ovsienko <[email protected]>
Thu, 26 Jul 2018 12:16:11 +0000 (13:16 +0100)
commiteebb3f48e30f2cb31c3faaddce96dafc8faa10ca
tree63f8f460ab4ef037789e431ab69813929dd42a1b
parent19a552ae283d078c7223ceab3d757549d338b437
CLNP: squelch a fall-through warning (GH #618)

This change addresses one of the warnings listed in the bug report.

./print-isoclns.c: In function ‘clnp_print’:
./print-isoclns.c:1054:16: warning: this statement may fall through [-Wimplicit-fallthrough=]
             if (EXTRACT_U_1(pptr) == NLPID_CLNP) {
                ^
./print-isoclns.c:1061:9: note: here
         case  CLNP_PDU_DT:
         ^~~~

[skip ci]
print-isoclns.c