Cppcheck error

It is the last patch related to running cppcheck on ANTS.