diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2017-12-01 17:03:05 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2017-12-01 17:03:05 +0200 |
commit | ae93579cf9b706a79085e5d694785a0a1189b60e (patch) | |
tree | 0a267564d9ae26364a82c2bb17f22bf7f40e4e66 | |
parent | d5130c78a11bc3480480ff927b02033a7d824dea (diff) |
Fix GCC 7 -fimplicit-fallthrough warnings
-rw-r--r-- | libbutl/regex.txx | 4 |
1 files changed, 2 insertions, 2 deletions
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; } |