mirror of
https://github.com/fmtlib/fmt.git
synced 2026-02-16 23:29:57 +08:00
Remove unreachable code below FMT_THROW
(cherry picked from commit c8c99736690c7fcbe959a131d48c1e511fde067d)
This commit is contained in:
parent
6f27f98103
commit
e3de93298b
@ -2624,7 +2624,6 @@ void BasicWriter<Char>::write_str(
|
|||||||
if (str_size == 0) {
|
if (str_size == 0) {
|
||||||
if (!str_value) {
|
if (!str_value) {
|
||||||
FMT_THROW(FormatError("string pointer is null"));
|
FMT_THROW(FormatError("string pointer is null"));
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
std::size_t precision = static_cast<std::size_t>(spec.precision_);
|
std::size_t precision = static_cast<std::size_t>(spec.precision_);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user