Correct local variable shadowing warning.