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)
This commit is contained in:
Brian Somers 2001-08-19 22:23:22 +00:00
parent 11ec14cfec
commit 856cf6873b

View file

@ -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)