mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Indicate that we do not use a return value
Please Coverity.
This commit is contained in:
parent
f5340fd6d9
commit
4828dfb441
@ -3328,7 +3328,7 @@ MatchStringAdv::MatchStringAdv(lyx::Buffer & buf, FindAndReplaceOptions & opt)
|
||||
string lead_as_regexp;
|
||||
if (lead_size > 0) {
|
||||
lead_as_regexp = string2regex(par_as_string.substr(0, lead_size));
|
||||
regex_replace(par_as_string_nolead, par_as_string_nolead, "}$", "");
|
||||
(void)regex_replace(par_as_string_nolead, par_as_string_nolead, "}$", "");
|
||||
par_as_string = par_as_string_nolead;
|
||||
LYXERR(Debug::FIND, "lead_as_regexp is '" << lead_as_regexp << "'");
|
||||
LYXERR(Debug::FIND, "par_as_string now is '" << par_as_string << "'");
|
||||
|
Loading…
Reference in New Issue
Block a user