mirror of
https://github.com/fmtlib/fmt.git
synced 2025-07-31 11:17:35 +02:00
Remove unreachable code below FMT_THROW
(cherry picked from commit c8c9973669
)
This commit is contained in:
committed by
Jonathan Müller
parent
6f27f98103
commit
e3de93298b
@ -2624,7 +2624,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