Another 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-09 15:12:03 +01:00
parent ce0c11ba4e
commit 4b8e5a9d53

View File

@ -687,9 +687,6 @@ docstring ParValidator::validate(string const & name,
return bformat(_("Parameters starting with '%1$s': %2$s"), return bformat(_("Parameters starting with '%1$s': %2$s"),
from_utf8(name), from_utf8(matching_names)); from_utf8(name), from_utf8(matching_names));
} }
// this stifles a warning but upsets coverity
// coverity[UNREACHABLE]
return docstring();
} }