Remove unset but used variable
Merge pull request #2702 from Rawk/remove_unset_but_used

Remove unset but used variable