Amends b009aca38a. The PR predated the introduction of unused variable/constant checks, thus the build checks weren't reporting this failure until later when merged into master.
b009aca38a
extern enum