checkcfg: add missing inline suppression for ignoredReturnValue of abs()
This commit is contained in:
parent
0b6db67de2
commit
7242e661ef
|
@ -3039,6 +3039,7 @@ void ignoredReturnValue_abs(int i)
|
|||
// cppcheck-suppress ignoredReturnValue
|
||||
std::abs(i);
|
||||
// cppcheck-suppress constStatement
|
||||
// cppcheck-suppress ignoredReturnValue
|
||||
std::abs(-199);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue