Fix Wunused-param for release build
Merge pull request #253 from eile/master

Fix Wunused-param for release build