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

Remove unreachable code below FMT_THROW
This commit is contained in:
Victor Zverovich
2016-07-21 06:35:38 -07:00
committed by GitHub

View File

@ -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_);