Fix warning about unused variable