Fix compiler warning about variable hiding.