mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Try a simpler way to tell coverity that we do not care about the result
This commit is contained in:
parent
d996ec8992
commit
f58d7dfe7b
@ -549,9 +549,8 @@ TextClass::ReturnValues TextClass::read(Lexer & lexrc, ReadType rt)
|
||||
// Either way, we just scan the rest and discard it
|
||||
else {
|
||||
Layout lay;
|
||||
// false positive from coverity
|
||||
// coverity[checked_return]
|
||||
readStyle(lexrc, lay);
|
||||
// signal to coverity that we do not care about the result
|
||||
(void)readStyle(lexrc, lay);
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user