From: florian Date: Wed, 23 Apr 2014 09:17:10 +0000 (+0000) Subject: missing break; not reachable X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=c608eb37621c34dde8d54ebb83356ce5ec3a94ec;p=openbsd missing break; not reachable OK benno@ --- diff --git a/usr.sbin/traceroute/traceroute.c b/usr.sbin/traceroute/traceroute.c index 61da6f395a1..015679761d4 100644 --- a/usr.sbin/traceroute/traceroute.c +++ b/usr.sbin/traceroute/traceroute.c @@ -1,4 +1,4 @@ -/* $OpenBSD: traceroute.c,v 1.122 2014/04/23 09:16:11 florian Exp $ */ +/* $OpenBSD: traceroute.c,v 1.123 2014/04/23 09:20:59 florian Exp $ */ /* $NetBSD: traceroute.c,v 1.10 1995/05/21 15:50:45 mycroft Exp $ */ /*- @@ -958,6 +958,7 @@ send_probe(int seq, u_int8_t ttl, int iflag, struct sockaddr *to) break; default: errx(1, "unsupported AF: %d", to->sa_family); + break; } if (dump) diff --git a/usr.sbin/traceroute6/traceroute6.c b/usr.sbin/traceroute6/traceroute6.c index 3ff95c2cc11..a672f6a26f9 100644 --- a/usr.sbin/traceroute6/traceroute6.c +++ b/usr.sbin/traceroute6/traceroute6.c @@ -1,4 +1,4 @@ -/* $OpenBSD: traceroute6.c,v 1.92 2014/04/23 09:16:11 florian Exp $ */ +/* $OpenBSD: traceroute6.c,v 1.93 2014/04/23 09:17:10 florian Exp $ */ /* $KAME: traceroute6.c,v 1.63 2002/10/24 12:53:25 itojun Exp $ */ /* @@ -754,6 +754,7 @@ send_probe(int seq, u_int8_t hops, int iflag, struct sockaddr *to) break; default: errx(1, "unsupported AF: %d", to->sa_family); + break; } if (dump)