mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
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:
parent
11ec14cfec
commit
856cf6873b
1 changed files with 2 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue