fix warning reg. unused variable

introduced in a2c0bf6188