pcap-linux.c:3570:3: error: will never be executed
[-Werror,-Wunreachable-code]
pcap-linux.c:3566:3: error: will never be executed
[-Werror,-Wunreachable-code]
# thread-local storage.
LIBPCAP_TAINTED=yes
;;
+clang-3.4/Linux-*)
+ # pcap-netfilter-linux.c:427:10: error: will never be executed
+ # [-Werror,-Wunreachable-code]
+ # pcap.c:3812:4: error: will never be executed
+ # [-Werror,-Wunreachable-code]
+ # scanner.l:662:3: warning: will never be executed [-Wunreachable-code]
+ # gencode.c:7061:3: warning: will never be executed [-Wunreachable-code]
+ LIBPCAP_TAINTED=yes
+ ;;
*)
;;
esac
switch (handlep->tp_version) {
case TPACKET_V2:
return __atomic_load_n(&h.h2->tp_status, __ATOMIC_ACQUIRE);
- break;
#ifdef HAVE_TPACKET3
case TPACKET_V3:
return __atomic_load_n(&h.h3->hdr.bh1.block_status, __ATOMIC_ACQUIRE);
- break;
#endif
}
/* This should not happen. */