Fix compiler warning about uninitialized variables