mirror of
https://github.com/fmtlib/fmt.git
synced 2025-07-30 10:47:35 +02:00
Resolve C4702 unreachable code warnings
This commit is contained in:
committed by
Victor Zverovich
parent
dad3237514
commit
1d066890c7
@ -134,7 +134,7 @@ FMT_FUNC auto write_loc(appender out, loc_value value,
|
|||||||
|
|
||||||
FMT_FUNC void report_error(const char* message) {
|
FMT_FUNC void report_error(const char* message) {
|
||||||
#if FMT_USE_EXCEPTIONS
|
#if FMT_USE_EXCEPTIONS
|
||||||
throw format_error(message);
|
FMT_THROW(format_error(message));
|
||||||
#else
|
#else
|
||||||
fputs(message, stderr);
|
fputs(message, stderr);
|
||||||
abort();
|
abort();
|
||||||
|
Reference in New Issue
Block a user