Removed unused variables from check function
Merge pull request #11 from thefourtheye/master

Removed unused variables from check function