Fix a compiler warning

- Since enums don't create a new namespace, their values a are directly
  available in the surrounding scope.