Fixing compiler warnings concerning variable initialization