Correct or suppress cppcheck errors/warnings