summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmitay Isaacs <amitay@ozlabs.org>2019-02-21 14:04:21 +1100
committerAndreas Schneider <asn@samba.org>2019-03-06 17:30:50 +0100
commit2d53497bb3610b4aa7c3f045b810d23d1f2e9daf (patch)
tree797257d484f4c602b8bfb8c5ac59fa535cdb7af0
parent70bc551dca142a7a4d6ed082244966957ca2e070 (diff)
downloadsocket_wrapper-2d53497bb3610b4aa7c3f045b810d23d1f2e9daf.tar.gz
socket_wrapper-2d53497bb3610b4aa7c3f045b810d23d1f2e9daf.tar.xz
socket_wrapper-2d53497bb3610b4aa7c3f045b810d23d1f2e9daf.zip
swrap: Do not use FALL_THROUGH for empty case statements
Signed-off-by: Amitay Isaacs <amitay@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
-rw-r--r--src/socket_wrapper.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/socket_wrapper.c b/src/socket_wrapper.c
index de5cc7a..a5037f7 100644
--- a/src/socket_wrapper.c
+++ b/src/socket_wrapper.c
@@ -610,7 +610,6 @@ static void *swrap_load_lib_handle(enum swrap_lib lib)
switch (lib) {
case SWRAP_LIBNSL:
- FALL_THROUGH;
case SWRAP_LIBSOCKET:
#ifdef HAVE_LIBSOCKET
handle = swrap.libc.socket_handle;
@@ -629,7 +628,6 @@ static void *swrap_load_lib_handle(enum swrap_lib lib)
}
break;
#endif
- FALL_THROUGH;
case SWRAP_LIBC:
handle = swrap.libc.handle;
#ifdef LIBC_SO