fix remaining -Wunused-parameter
fix -Wunused-but-set-variable
Merge pull request #23 from toxeus/develop

Fix unused variable and unused parameter warnings