fix warning reg. unused variable
Merge pull request #1203 from Jojo-Schmitz/warnings

fix warning reg. unused variable