summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/kroute.c
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2004-11-10 14:48:26 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2004-11-10 14:48:26 +0000
commit8afdbd81097b76fe0404d13c062189e97fde1633 (patch)
treeab512dbc1c04be08b12fdf997ffc29ce6de6039a /usr.sbin/bgpd/kroute.c
parent35f8b96d9662d87e61f22c6bca1092f35815769b (diff)
"not reached" does not help LINT use NOTREACHED instead and use it only in
places where needed. OK henning@
Diffstat (limited to 'usr.sbin/bgpd/kroute.c')
-rw-r--r--usr.sbin/bgpd/kroute.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/usr.sbin/bgpd/kroute.c b/usr.sbin/bgpd/kroute.c
index 914859fe2ef..82e65185e18 100644
--- a/usr.sbin/bgpd/kroute.c
+++ b/usr.sbin/bgpd/kroute.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kroute.c,v 1.110 2004/10/19 12:02:50 henning Exp $ */
+/* $OpenBSD: kroute.c,v 1.111 2004/11/10 14:48:25 claudio Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -1177,7 +1177,6 @@ fetchtable(void)
default:
free(kr);
continue;
- /* not reached */
}
if ((sa = rti_info[RTAX_GATEWAY]) != NULL)
@@ -1334,7 +1333,6 @@ dispatch_rtmsg(void)
break;
default:
continue;
- /* not reached */
}
}