[SCM] Socket Wrapper Repository - branch master updated
Andreas Schneider
asn at samba.org
Tue Feb 20 17:47:32 UTC 2018
The branch, master has been updated
via 986684f swrap: Avoid double semicolons in the code
from 9a23836 Bump version to 1.1.9
https://git.samba.org/?p=socket_wrapper.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit 986684ffa03f15f270c4deec2068ac3d2a450dea
Author: Andreas Schneider <asn at samba.org>
Date: Tue Feb 20 17:52:00 2018 +0100
swrap: Avoid double semicolons in the code
Compilers that don't support fallthrough will end up with an empty
FALL_THROUGH define and just see a semicolon. The probably will warn
that there are double semicolons in the code.
Signed-off-by: Andreas Schneider <asn at samba.org>
-----------------------------------------------------------------------
Summary of changes:
src/socket_wrapper.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Changeset truncated at 500 lines:
diff --git a/src/socket_wrapper.c b/src/socket_wrapper.c
index 539d27d..02fe970 100644
--- a/src/socket_wrapper.c
+++ b/src/socket_wrapper.c
@@ -111,7 +111,7 @@ enum swrap_dbglvl_e {
# ifdef HAVE_FALLTHROUGH_ATTRIBUTE
# define FALL_THROUGH __attribute__ ((fallthrough))
# else /* HAVE_FALLTHROUGH_ATTRIBUTE */
-# define FALL_THROUGH
+# define FALL_THROUGH ((void)0)
# endif /* HAVE_FALLTHROUGH_ATTRIBUTE */
#endif /* FALL_THROUGH */
--
Socket Wrapper Repository
More information about the samba-cvs
mailing list