From a92c179a6dfc5037d0c191ddfabb1c3fe12f1439 Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Mon, 9 Feb 2015 07:37:26 -0800 Subject: [PATCH] Fix warnings on clang --- format.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/format.h b/format.h index 8c61a8ba..724acaae 100644 --- a/format.h +++ b/format.h @@ -882,7 +882,7 @@ class ArgVisitor { switch (arg.type) { default: assert(false); - FMT_FALLTHROUGH; + return Result(); case Arg::INT: return FMT_DISPATCH(visit_int(arg.int_value)); case Arg::UINT: