Fixed maybe uninitialized warning for GCC

Change-Id: Iad3425bec4e18dc180cd6feca2bc13d6782b7a64