fix compiler warning
remove unused variable
Merge pull request #9 from paulz/fix_warning

fix compiler warning