From 4bc6db4abc83a65c822a83588189fa9db39754f1 Mon Sep 17 00:00:00 2001 From: Tim Landscheidt Date: Mon, 19 Feb 2018 21:38:39 +0000 Subject: Fix warnings for -Wimplicit-fallthrough --- src/mask.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/mask.cc') 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; -- cgit v1.2.3