git.samba.org
/
socket_wrapper.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
70bc551
)
swrap: Do not use FALL_THROUGH for empty case statements
author
Amitay Isaacs
<amitay@ozlabs.org>
Thu, 21 Feb 2019 03:04:21 +0000
(14:04 +1100)
committer
Andreas Schneider
<asn@samba.org>
Wed, 6 Mar 2019 16:30:50 +0000
(17:30 +0100)
Signed-off-by: Amitay Isaacs <amitay@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
src/socket_wrapper.c
patch
|
blob
|
history
diff --git
a/src/socket_wrapper.c
b/src/socket_wrapper.c
index de5cc7ac5dc89f1ddde7e81ee414f50a94cd707b..a5037f70d5b9766d7ce2daf1180142fc15dd36d6 100644
(file)
--- 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