[release] Removes more unused parameter warnings.

Kudos to Rene Milk, who provided a patch with Flyspray 1355 which is
the basis for this one.