From e622f82521e818ca961f82599ff2b1c084676b8e Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Sun, 12 Jun 2016 00:34:35 -0400 Subject: [PATCH] Add comments to fix coverity #23505 and 23507. --- src/insets/InsetListingsParams.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/insets/InsetListingsParams.cpp b/src/insets/InsetListingsParams.cpp index d365d89987..f37566138f 100644 --- a/src/insets/InsetListingsParams.cpp +++ b/src/insets/InsetListingsParams.cpp @@ -223,6 +223,8 @@ 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: @@ -685,6 +687,8 @@ 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(); } -- 2.39.5