fixed analyzer complaint about uninitiallized value