Drop unused variable.
Merge pull request #4230 from ktf/fix-unused-variable

Drop unused variable.