Corrected static analysis issue
Corrected several static analysis errors related to uninitialized variables.