Attempt to fix a cppcheck error