aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-11-07 12:15:17 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-11-07 12:15:17 +0200
commitb2eef79296486d7492ef68337379ba84ff40f2f7 (patch)
tree80d21b3db911c939cbecba02d9273be4f5ebf4ab
parenta07a512cfb62e38a760b9b3795d45873fdaaae56 (diff)
Get rid of GCC 7 case fall-through warnings (C++11 codebase only)
-rw-r--r--cutl/re/re.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/cutl/re/re.cxx b/cutl/re/re.cxx
index 44bde2c..9672066 100644
--- a/cutl/re/re.cxx
+++ b/cutl/re/re.cxx
@@ -292,9 +292,9 @@ namespace cutl
{
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;
}