commit c6213b1b20f93172e983734359b5b96dcaa02ce0
Author: Jean-Marc Lasgouttes <[email protected]>
Date: Tue Mar 14 14:46:02 2017 +0100
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 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/src/insets/InsetListingsParams.cpp
b/src/insets/InsetListingsParams.cpp
index bc1b4ce..4b90ce7 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_) {