Another forgotten unreachable `return' that is not needed

The compilers we use now do not care, but coverity complains.
This commit is contained in:
Jean-Marc Lasgouttes 2017-03-14 14:46:02 +01:00
parent 7a124ab861
commit c6213b1b20

View File

@ -223,9 +223,6 @@ docstring ListingsParam::validate(string const & par) const
return bformat(_("Try one of %1$s."), from_utf8(info_));
else
return bformat(_("I guess you mean %1$s."), from_utf8(matching_names));
// this stifles a warning but upsets coverity
// coverity[UNREACHABLE]
return docstring();
}
case SUBSETOF:
if (par2.empty() && !onoff_) {