Fixing compiler warnings of possible use of uninitialized variables