[COMPILE]Fix some compile warnings about uninitialized variables