Supress some cppcheck warnings

Signed-off-by: Slava Zanko <slavazanko@gmail.com>