remove unused variables
Merge pull request #1245 from NARKOZ/fix-warnings

remove unused variables