summaryrefslogtreecommitdiff
path: root/src/mask.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2019-01-14 17:25:28 -0800
committerGitHub <noreply@github.com>2019-01-14 17:25:28 -0800
commitf2617fc69cdd4920fb6a78122b621e3db3f9ba58 (patch)
tree68ddb1e2efbb52e83f74ce9a2498e1875b6e2009 /src/mask.cc
parent5a54f079c0f511b95777013288c335d11a7552aa (diff)
parent4bc6db4abc83a65c822a83588189fa9db39754f1 (diff)
downloadledger-f2617fc69cdd4920fb6a78122b621e3db3f9ba58.tar.gz
ledger-f2617fc69cdd4920fb6a78122b621e3db3f9ba58.tar.bz2
ledger-f2617fc69cdd4920fb6a78122b621e3db3f9ba58.zip
Merge pull request #540 from scfc/fix-warnings-for-implicit-fallthrough
Fix warnings for -Wimplicit-fallthrough
Diffstat (limited to 'src/mask.cc')
-rw-r--r--src/mask.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mask.cc b/src/mask.cc
index 434acad6..35e690de 100644
--- a/src/mask.cc
+++ b/src/mask.cc
@@ -75,9 +75,8 @@ mask_t& mask_t::assign_glob(const string& pat)
if (i + 1 < len) {
re_pat += pat[++i];
break;
- } else {
- // fallthrough...
}
+ // fallthrough...
default:
re_pat += pat[i];
break;