diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2004-11-10 14:48:26 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2004-11-10 14:48:26 +0000 |
commit | 8afdbd81097b76fe0404d13c062189e97fde1633 (patch) | |
tree | ab512dbc1c04be08b12fdf997ffc29ce6de6039a /usr.sbin/bgpd/session.c | |
parent | 35f8b96d9662d87e61f22c6bca1092f35815769b (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/session.c')
-rw-r--r-- | usr.sbin/bgpd/session.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.sbin/bgpd/session.c b/usr.sbin/bgpd/session.c index b803be5830f..4eeaf622f2a 100644 --- a/usr.sbin/bgpd/session.c +++ b/usr.sbin/bgpd/session.c @@ -1,4 +1,4 @@ -/* $OpenBSD: session.c,v 1.197 2004/11/02 10:56:48 henning Exp $ */ +/* $OpenBSD: session.c,v 1.198 2004/11/10 14:48:25 claudio Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org> @@ -1784,7 +1784,6 @@ parse_open(struct peer *peer) peer->IdleHoldTimer = time(NULL); /* no punish */ peer->IdleHoldTime /= 2; return (-1); - /* not reached */ } } @@ -2326,7 +2325,7 @@ la_cmp(struct listen_addr *a, struct listen_addr *b) break; default: fatal("king bula sez: unknown address family"); - /* not reached */ + /* NOTREACHED */ } return (0); |