Remove shadow declaration warnings for "index" variable