remove unused variables from through the project
Merge pull request #1151 from patrickkettner/removed-unused

remove unused variables from through the project