Fix unused code warnings
Remove unused code on Linux
Merge pull request #93 from mbrubeck/unused

Fix unused code warnings