Fix warnings of  uninitialized variables