Fix unused variable warnings
Merge pull request #7 from awulkiew/fixes

Fix unused variable warnings