Fix compiler errors due to variable declarations in for loop.

Change-Id: Id35240b7dca7981ab6fe3fb2ae14836a21d89aae
1 file changed