]> git.lyx.org Git - features.git/commitdiff
Another unreachable `return' that is not needed
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 9 Mar 2017 14:12:03 +0000 (15:12 +0100)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 9 Mar 2017 14:12:03 +0000 (15:12 +0100)
The compilers we use now do not care, but coverity complains.

src/insets/InsetListingsParams.cpp

index f37566138f86635502bf162ccba3290dc709a0b1..bc1b4cebf5bd3bab7901a098138afebae73dc67d 100644 (file)
@@ -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();
 }