fix warning reg. unused parameter

introduced in 5a9b6395