From 317909c43657981aa9d50b145e0e95a388f41007 Mon Sep 17 00:00:00 2001 From: brian Date: Sun, 19 Aug 2001 22:23:22 +0000 Subject: 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(+) (limited to 'usr.sbin/ppp') diff --git a/usr.sbin/ppp/iface.c b/usr.sbin/ppp/iface.c index adf84ce..586d3d2 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) -- cgit v1.1