mirror of
https://github.com/fmtlib/fmt.git
synced 2025-07-30 10:47:35 +02:00
Merge pull request #361 from nmoehrle/fix-unreachable-code
Remove unreachable code below FMT_THROW
This commit is contained in:
@ -2614,7 +2614,6 @@ void BasicWriter<Char>::write_str(
|
||||
if (str_size == 0) {
|
||||
if (!str_value) {
|
||||
FMT_THROW(FormatError("string pointer is null"));
|
||||
return;
|
||||
}
|
||||
}
|
||||
std::size_t precision = static_cast<std::size_t>(spec.precision_);
|
||||
|
Reference in New Issue
Block a user