Merge pull request #10861 from arunagw/unused_var_removed

Unused variable warning removed