accommodate cppcheck suggestion