Remove unused variable
Merge pull request #14881 from Nibbler999/unused-variable-errors

Remove unused variable