aboutsummaryrefslogtreecommitdiff
path: root/libbutl/regex.txx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-12-01 17:03:05 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-12-01 17:03:05 +0200
commitae93579cf9b706a79085e5d694785a0a1189b60e (patch)
tree0a267564d9ae26364a82c2bb17f22bf7f40e4e66 /libbutl/regex.txx
parentd5130c78a11bc3480480ff927b02033a7d824dea (diff)
Fix GCC 7 -fimplicit-fallthrough warnings
Diffstat (limited to 'libbutl/regex.txx')
-rw-r--r--libbutl/regex.txx4
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;
}