remove unused variable
Merge pull request #305 from Liuchang0812/fix-logging

remove unused variable