From: Alexis La Goutte Date: Fri, 19 May 2017 15:26:42 +0000 (+0200) Subject: privsep_io: fix this statement may fall through [-Wimplicit-fallthrough=] with gcc7 X-Git-Tag: 0.9.8~18 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8f31f6d723d9477b238c6a5a4c5139d1998d39ae;p=thirdparty%2Flldpd.git privsep_io: fix this statement may fall through [-Wimplicit-fallthrough=] with gcc7 --- diff --git a/src/daemon/privsep_io.c b/src/daemon/privsep_io.c index e9734a71..fbfad740 100644 --- a/src/daemon/privsep_io.c +++ b/src/daemon/privsep_io.c @@ -46,6 +46,7 @@ may_read(enum priv_context ctx, void *buf, size_t n) case -1: if (errno == EINTR || errno == EAGAIN) continue; + /* FALL THROUGH */ case 0: return (1); default: