Merge pull request #72 from reventlov/fix_wunused_parameter

Compile with -Wunused-parameter -Werror.