Removing variable that's never used.
Merge pull request #5366 from bencorlett/patch-1

Removing variable that's never used