commit 4b8e5a9d53b5f48e80eda2502277202ef6ec2348
Author: Jean-Marc Lasgouttes <[email protected]>
Date: Thu Mar 9 15:12:03 2017 +0100
Another 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 f375661..bc1b4ce 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();
}