From: Guy Harris Date: Tue, 1 May 2018 16:46:38 +0000 (-0700) Subject: Squelch "case not handled in switch" warnings. X-Git-Tag: libpcap-1.9-bp~54 X-Git-Url: https://git.tcpdump.org/libpcap/commitdiff_plain/80b55a4b436713749ca68e38a9f4780e4fd921e8 Squelch "case not handled in switch" warnings. --- diff --git a/pcap-npf.c b/pcap-npf.c index 0503b0f3..0b3dfea3 100644 --- a/pcap-npf.c +++ b/pcap-npf.c @@ -1591,6 +1591,12 @@ get_if_flags(const char *name, bpf_u_int32 *flags, char *errbuf) */ *flags |= PCAP_IF_WIRELESS; break; + + default: + /* + * Not wireless. + */ + break; } } #endif