Item11907: fix use of uninit variable