Commit 631ffef4 authored by Victor Zverovich's avatar Victor Zverovich Committed by GitHub

Merge pull request #361 from nmoehrle/fix-unreachable-code

Remove unreachable code below FMT_THROW
parents 355861f1 c8c99736
......@@ -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_);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment