[#1995] init vars to make cppcheck happy