Unname unused parameters to fix -Wextra warning