Fixed format.h(1465): warning C4702: unreachable code (#2106)
* Fixed format.h(1465): warning C4702: unreachable code * Fixed format.h(1416): warning C4702: unreachable code
This commit is contained in:
parent
7fd535c6ae
commit
80dc7cceb8
@ -1412,9 +1412,9 @@ FMT_CONSTEXPR void handle_int_type_spec(char spec, Handler&& handler) {
|
||||
break;
|
||||
#ifdef FMT_DEPRECATED_N_SPECIFIER
|
||||
case 'n':
|
||||
#endif
|
||||
handler.on_num();
|
||||
break;
|
||||
#endif
|
||||
case 'c':
|
||||
handler.on_chr();
|
||||
break;
|
||||
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user