Merge pull request #252 from eile/master

Fix Wunused-param
Fix Wunused-param for release build