From 8afdbd81097b76fe0404d13c062189e97fde1633 Mon Sep 17 00:00:00 2001 From: Claudio Jeker Date: Wed, 10 Nov 2004 14:48:26 +0000 Subject: "not reached" does not help LINT use NOTREACHED instead and use it only in places where needed. OK henning@ --- usr.sbin/bgpd/session.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'usr.sbin/bgpd/session.c') 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 @@ -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); -- cgit v1.2.3