mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
Another forgotten unreachable `return' that is not needed
The compilers we use now do not care, but coverity complains.
This commit is contained in:
parent
7a124ab861
commit
c6213b1b20
@ -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_) {
|
||||
|
Loading…
Reference in New Issue
Block a user