Fixed : shadowed variable issue

Those 2 variables are not read later until being assigned on the next run
of the for loop.
This can be seen with -Wshadow compiler flag.