[release] Removes unused parameter warnings.
(cherry picked from commit 8391f2fd80928f8c926c70e642e2bceec7fc1129)

Signed-off-by: Markus Blatt <markus@dr-blatt.de>
[release] Removes more unused parameter warnings.

Kudos to Rene Milk, who provided a patch with Flyspray 1355 which is
the basis for this one.
(cherry picked from commit 5f67ee14ad61dd39487f3e1ae791bc662caa519d)

Signed-off-by: Markus Blatt <markus@dr-blatt.de>