From 1043b0b246384108f8ac9aef71a4cf7eff36cb90 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Feb 20 2018 17:14:19 +0000 Subject: Avoid double semicolon warnings on older compilers Compilers that don't support fallthrough will end up with an empty SSS_ATTRIBUTE_FALLTHROUGH define and just see a semicolon. The probably will warn that there are double semicolons in the code. Signed-off-by: Andreas Schneider --- diff --git a/configure.ac b/configure.ac index 7e699d3..fafb735 100644 --- a/configure.ac +++ b/configure.ac @@ -459,7 +459,7 @@ AC_CACHE_CHECK( sss_cv_attribute_fallthrough_val="__attribute__ ((fallthrough))" ],[ sss_cv_attribute_fallthrough=no - sss_cv_attribute_fallthrough_val= + sss_cv_attribute_fallthrough_val="((void)0)" ]) ]) CFLAGS=$SAFE_CFLAGS