From de06fcfecb925242f8a4d9f228d975146421e575 Mon Sep 17 00:00:00 2001 From: Ivan Shynkarenka Date: Wed, 20 Jan 2021 01:04:28 +0300 Subject: [PATCH] Fixed format.h(1465): warning C4702: unreachable code --- include/fmt/format.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/fmt/format.h b/include/fmt/format.h index 2f8ab84f..5fec51ac 100644 --- a/include/fmt/format.h +++ b/include/fmt/format.h @@ -1461,9 +1461,9 @@ FMT_CONSTEXPR float_specs parse_float_type_spec( break; #ifdef FMT_DEPRECATED_N_SPECIFIER case 'n': -#endif result.locale = true; break; +#endif default: eh.on_error("invalid type specifier"); break;