From c6213b1b20f93172e983734359b5b96dcaa02ce0 Mon Sep 17 00:00:00 2001 From: Jean-Marc Lasgouttes Date: Tue, 14 Mar 2017 14:46:02 +0100 Subject: [PATCH] Another forgotten unreachable `return' that is not needed The compilers we use now do not care, but coverity complains. --- src/insets/InsetListingsParams.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/insets/InsetListingsParams.cpp b/src/insets/InsetListingsParams.cpp index bc1b4cebf5..4b90ce7e91 100644 --- a/src/insets/InsetListingsParams.cpp +++ b/src/insets/InsetListingsParams.cpp @@ -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_) { -- 2.39.5