cppccheck fix