Skip to content

Commit

Permalink
Resolve C4702 unreachable code warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
GamesTrap committed Jan 3, 2025
1 parent dad3237 commit 9ef8560
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/fmt/format-inl.h
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ FMT_FUNC auto write_loc(appender out, loc_value value,

FMT_FUNC void report_error(const char* message) {
#if FMT_USE_EXCEPTIONS
throw format_error(message);
FMT_THROW(format_error(message));
#else
fputs(message, stderr);
abort();
Expand Down

0 comments on commit 9ef8560

Please sign in to comment.