mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 06:25:31 +00:00
Merge branch '4570-cid-486327-control-flow-issues-unreachable' into 'main'
Resolve "CID 486327: Control flow issues (UNREACHABLE)" Closes #4570 See merge request isc-projects/bind9!8724
This commit is contained in:
@@ -747,17 +747,6 @@ isc___nmsocket_init(isc_nmsocket_t *sock, isc__networker_t *worker,
|
||||
UNREACHABLE();
|
||||
}
|
||||
break;
|
||||
switch (family) {
|
||||
case AF_INET:
|
||||
sock->statsindex = tcp4statsindex;
|
||||
break;
|
||||
case AF_INET6:
|
||||
sock->statsindex = tcp6statsindex;
|
||||
break;
|
||||
default:
|
||||
UNREACHABLE();
|
||||
}
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
Reference in New Issue
Block a user