From 9e5a6e866cad052f0e5e9930d460f92568485f3e Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 11 Jan 2018 14:59:03 +0200 Subject: Fix implicit fallthrough warnings --- cli/context.cxx | 3 +-- cli/parser.cxx | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) (limited to 'cli') diff --git a/cli/context.cxx b/cli/context.cxx index 0cfe0b7..d6c0add 100644 --- a/cli/context.cxx +++ b/cli/context.cxx @@ -1025,9 +1025,8 @@ format_line (output_type ot, string& r, const char* s, size_t n) break; } - - // Fall through. } + // Fall through. default: r += c; break; diff --git a/cli/parser.cxx b/cli/parser.cxx index ab62105..63a911f 100644 --- a/cli/parser.cxx +++ b/cli/parser.cxx @@ -554,9 +554,8 @@ decl (token& t) { if (t.punctuation () != token::p_lcbrace) break; - - // Fall through. } + // Fall through. case token::t_string_lit: { scope_doc (t); -- cgit v1.1