From ae93579cf9b706a79085e5d694785a0a1189b60e Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 1 Dec 2017 17:03:05 +0200 Subject: Fix GCC 7 -fimplicit-fallthrough warnings --- libbutl/regex.txx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libbutl/regex.txx') diff --git a/libbutl/regex.txx b/libbutl/regex.txx index d1daa44..b14e08d 100644 --- a/libbutl/regex.txx +++ b/libbutl/regex.txx @@ -88,9 +88,9 @@ LIBBUTL_MODEXPORT namespace butl //@@ MOD Clang needs this for some reason. { switch (mode) { - case case_conv::upper_once: mode = case_conv::none; + case case_conv::upper_once: mode = case_conv::none; // Fall through. case case_conv::upper: c = toupper (c, cl); break; - case case_conv::lower_once: mode = case_conv::none; + case case_conv::lower_once: mode = case_conv::none; // Fall through. case case_conv::lower: c = tolower (c, cl); break; case case_conv::none: break; } -- cgit v1.1