fix unused variable
Merge pull request #564 from ma2gedev/unused_var

fix unused variable