Fix uninitialized variable warnings with gcc-4.7

Change-Id: Ia29ef35dc710721ec15d5e2cf849e027ae0e7724