fix warning reg. unused variable

a leftover from 07abb7f
Merge pull request #1013 from Jojo-Schmitz/warnings

fix warning reg. unused variable