Commit e31bcac4 authored by Mark Andrews's avatar Mark Andrews

Merge branch 'marka-add-fallthrough' into 'main'

Add fallthrough and braces

See merge request !3884
parents 1ba814a2 70c06012
Pipeline #47416 failed with stages
in 63 minutes and 24 seconds
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment