mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-01 23:25:38 +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();
|
UNREACHABLE();
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
switch (family) {
|
|
||||||
case AF_INET:
|
|
||||||
sock->statsindex = tcp4statsindex;
|
|
||||||
break;
|
|
||||||
case AF_INET6:
|
|
||||||
sock->statsindex = tcp6statsindex;
|
|
||||||
break;
|
|
||||||
default:
|
|
||||||
UNREACHABLE();
|
|
||||||
}
|
|
||||||
break;
|
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user