mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 21:21:32 +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_));
|
return bformat(_("Try one of %1$s."), from_utf8(info_));
|
||||||
else
|
else
|
||||||
return bformat(_("I guess you mean %1$s."), from_utf8(matching_names));
|
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:
|
case SUBSETOF:
|
||||||
if (par2.empty() && !onoff_) {
|
if (par2.empty() && !onoff_) {
|
||||||
|
Loading…
Reference in New Issue
Block a user