fix compiler warnings reg. unused parameters

Hah! PR #1000! Time to celebrate ;-)