The previous commit changed two nested switch() statements. The inner
one turned off implicit switch() case statement fallthrough warnings.
This commit applies that to the entire outer switch().
# endif
+ GCC_DIAG_IGNORE_STMT(-Wimplicit-fallthrough);
+
switch (item) {
# ifdef HAS_LOCALECONV
# endif
- GCC_DIAG_IGNORE_STMT(-Wimplicit-fallthrough);
-
/* Nested switch for LC_TIME items, plus the default: case is for
* unknown items */
switch (item) {
} /* End of inner switch() */
- GCC_DIAG_RESTORE_STMT;
-
if (! format) {
retval = "";
break;
} /* End of braced group for outer switch 'default:' case */
} /* Giant switch() of nl_langinfo() items */
+ GCC_DIAG_RESTORE_STMT;
+
if (utf8ness) {
*utf8ness = is_utf8;
}