Remove unused assignment to fix warnings in enum test.
Merge pull request #13821 from vipulnsward/remove-assignment-in-test

Remove unused assignment to fix warnings in enum test.