From 57e119f6f2735fdb3ed801da6facccfb0e3cb45f Mon Sep 17 00:00:00 2001 From: Peter Wemm Date: Fri, 27 Jul 2001 00:04:39 +0000 Subject: [PATCH] Fix a warning. --- sys/netinet/tcp_subr.c | 2 ++ sys/netinet/tcp_timewait.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/sys/netinet/tcp_subr.c b/sys/netinet/tcp_subr.c index 8db74557e1af..5872d7983825 100644 --- a/sys/netinet/tcp_subr.c +++ b/sys/netinet/tcp_subr.c @@ -1125,6 +1125,8 @@ tcp_new_isn() return tcp_iss; case 1: /* OpenBSD randomized scheme */ return tcp_rndiss_next(); + default: + panic("cannot happen"); } } diff --git a/sys/netinet/tcp_timewait.c b/sys/netinet/tcp_timewait.c index 8db74557e1af..5872d7983825 100644 --- a/sys/netinet/tcp_timewait.c +++ b/sys/netinet/tcp_timewait.c @@ -1125,6 +1125,8 @@ tcp_new_isn() return tcp_iss; case 1: /* OpenBSD randomized scheme */ return tcp_rndiss_next(); + default: + panic("cannot happen"); } }