avoid warning reg. unused variable

introduced in 89763e6
Merge pull request #1332 from Jojo-Schmitz/warnings

avoid warning reg. unused variable