From: Jean-Marc Lasgouttes Date: Thu, 9 Mar 2017 14:12:03 +0000 (+0100) Subject: Another unreachable `return' that is not needed X-Git-Tag: 2.3.0alpha1~254 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=4b8e5a9d53b5f48e80eda2502277202ef6ec2348;p=features.git Another unreachable `return' that is not needed The compilers we use now do not care, but coverity complains. --- diff --git a/src/insets/InsetListingsParams.cpp b/src/insets/InsetListingsParams.cpp index f37566138f..bc1b4cebf5 100644 --- a/src/insets/InsetListingsParams.cpp +++ b/src/insets/InsetListingsParams.cpp @@ -687,9 +687,6 @@ docstring ParValidator::validate(string const & name, return bformat(_("Parameters starting with '%1$s': %2$s"), from_utf8(name), from_utf8(matching_names)); } - // this stifles a warning but upsets coverity - // coverity[UNREACHABLE] - return docstring(); }