Potential cppcheck fix