Try a simpler way to tell coverity that we do not care about the result

This commit is contained in:
Jean-Marc Lasgouttes 2017-03-28 10:52:59 +02:00
parent d996ec8992
commit f58d7dfe7b

View File

@ -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;
}