Fix some assigned but unused variable warnings
Merge pull request #33 from timcraft/fix-warnings

Fix some assigned but unused variable warnings