mirror of
https://github.com/fmtlib/fmt.git
synced 2024-12-27 03:21:34 +00:00
Remove unreachable code below FMT_THROW
This commit is contained in:
parent
65cd664195
commit
c8c9973669
@ -2614,7 +2614,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…
Reference in New Issue
Block a user