diff options
author | Tim Landscheidt <tim@tim-landscheidt.de> | 2018-02-19 21:38:39 +0000 |
---|---|---|
committer | Tim Landscheidt <tim@tim-landscheidt.de> | 2018-02-19 21:38:39 +0000 |
commit | 4bc6db4abc83a65c822a83588189fa9db39754f1 (patch) | |
tree | 92e95336517ec47dcdc1212f954e994aa3fe8c68 /src/mask.cc | |
parent | fbccb7149eae348182bef7ac9dcba756fe72381d (diff) | |
download | fork-ledger-4bc6db4abc83a65c822a83588189fa9db39754f1.tar.gz fork-ledger-4bc6db4abc83a65c822a83588189fa9db39754f1.tar.bz2 fork-ledger-4bc6db4abc83a65c822a83588189fa9db39754f1.zip |
Fix warnings for -Wimplicit-fallthrough
Diffstat (limited to 'src/mask.cc')
-rw-r--r-- | src/mask.cc | 3 |
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; |