From: Mark Andrews Date: Fri, 24 Jul 2020 03:49:56 +0000 (+1000) Subject: Add fallthrough and braces X-Git-Tag: v9.17.4~36^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=70c060120f7c19796f147acb0de982f7a2cccd2c;p=thirdparty%2Fbind9.git Add fallthrough and braces --- diff --git a/lib/isc/unix/socket.c b/lib/isc/unix/socket.c index 3972c4dd868..e6952bc9aff 100644 --- a/lib/isc/unix/socket.c +++ b/lib/isc/unix/socket.c @@ -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,