Remove unreachable code below FMT_THROW

(cherry picked from commit c8c99736690c7fcbe959a131d48c1e511fde067d)
This commit is contained in:
Nils Moehrle 2016-07-19 20:33:55 +02:00 committed by Jonathan Müller
parent 6f27f98103
commit e3de93298b

View File

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