[FIX] fix compile warning from unused variables
Merge pull request #1104 from timosachsenberg/fix/warning

[FIX] fix compile warning from unused variables