From 6178bc6f8e3a8a095ce47bc28dbd27da97ec4158 Mon Sep 17 00:00:00 2001 From: Patrik Weiskircher Date: Tue, 23 Feb 2016 12:59:26 -0500 Subject: [PATCH] Fix switch fall-through warning Clang with `-Wimplicit-fallthrough` enabled shows a warning here without the break. --- cppformat/format.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/cppformat/format.cc b/cppformat/format.cc index 995e5727..4fc7220b 100644 --- a/cppformat/format.cc +++ b/cppformat/format.cc @@ -676,6 +676,7 @@ FMT_FUNC Arg fmt::internal::FormatterBase::do_get_arg( break; case Arg::NAMED_ARG: arg = *static_cast(arg.pointer); + break; default: /*nothing*/; }