build: don't warn on unused parameters

Signed-off-by: Steve Markgraf <steve@steve-m.de>