mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 22:15:20 +00:00
Merge branch 'marka-add-fallthrough' into 'main'
Add fallthrough and braces See merge request isc-projects/bind9!3884
This commit is contained in:
@@ -4245,9 +4245,10 @@ isc_socket_cleanunix(const isc_sockaddr_t *sockaddr, bool active) {
|
||||
if (stat(sockaddr->type.sunix.sun_path, &sb) < 0) {
|
||||
switch (errno) {
|
||||
case ENOENT:
|
||||
if (active) /* We exited cleanly last time */
|
||||
if (active) { /* We exited cleanly last time */
|
||||
break;
|
||||
/* intentional falltrough */
|
||||
}
|
||||
/* FALLTHROUGH */
|
||||
default:
|
||||
strerror_r(errno, strbuf, sizeof(strbuf));
|
||||
isc_log_write(isc_lctx, ISC_LOGCATEGORY_GENERAL,
|
||||
|
Reference in New Issue
Block a user