cast unused parameter to void

Signed-off-by: Mattias Andrée <maandree@operamail.com>