checkcfg: add missing inline suppression for ignoredReturnValue of abs()

This commit is contained in:
Daniel Marjamäki 2016-10-18 22:35:54 +02:00
parent 0b6db67de2
commit 7242e661ef
1 changed files with 1 additions and 0 deletions

View File

@ -3039,6 +3039,7 @@ void ignoredReturnValue_abs(int i)
// cppcheck-suppress ignoredReturnValue // cppcheck-suppress ignoredReturnValue
std::abs(i); std::abs(i);
// cppcheck-suppress constStatement // cppcheck-suppress constStatement
// cppcheck-suppress ignoredReturnValue
std::abs(-199); std::abs(-199);
} }