Remove unused assignment to fix warnings in enum test.

Remove unused assignment to fix warnings in enum test.

cc @rafaelfranca