Remove unreachable code below FMT_THROW

This commit is contained in:
Nils Moehrle 2016-07-19 20:33:55 +02:00
parent 65cd664195
commit c8c9973669

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