removed useless assignment variables
Merge pull request #1035 from hsbt/remove-useless-variables

Removed useless assignment variables