[NOP] fixed cppcheck performance warnings