From 856cf6873be67e0a4aa23d91a08ae872b0ff050e Mon Sep 17 00:00:00 2001 From: Brian Somers Date: Sun, 19 Aug 2001 22:23:22 +0000 Subject: [PATCH] Avoid a compiler warning Not spotted by: FreeBSD's gcc version 2.95.3 20010315 (release) Spotted by: OpenBSD's gcc version 2.95.3 20010125 (prerelease) --- usr.sbin/ppp/iface.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/usr.sbin/ppp/iface.c b/usr.sbin/ppp/iface.c index adf84ce1f12..586d3d27379 100644 --- a/usr.sbin/ppp/iface.c +++ b/usr.sbin/ppp/iface.c @@ -380,6 +380,8 @@ iface_Clear(struct iface *iface, struct ncp *ncp, int family, int how) s = &s6; break; #endif + default: + continue; } if (*s == -1 && (*s = ID0socket(af, SOCK_DGRAM, 0)) == -1)