drop unused variables
Merge pull request #1241 from Microsoft/drop_unused_variables

drop unused variables