fix warning reg. unused variable

introduced in 11b9481