diff --git a/tcpip.cc b/tcpip.cc index d7f66f9df..9806ede7a 100644 --- a/tcpip.cc +++ b/tcpip.cc @@ -535,9 +535,6 @@ int send_ip_packet(int sd, const struct eth_nfo *eth, } fatal("%s only understands IP versions 4 and 6 (got %u)", __func__, ip->ip_v); - - /* This should not be reached. Just in case. */ - assert(0); } diff --git a/traceroute.cc b/traceroute.cc index 37f3d4ffd..bba7f006d 100644 --- a/traceroute.cc +++ b/traceroute.cc @@ -729,9 +729,6 @@ public: } else { fatal("Unknown address family %u in %s.", source->ss_family, __func__); } - - /* This should not be reached. Just in case. */ - assert(0); } };