Remove unused parameter
Avoid benign compiler warning

There's a whole lot of enum values we're not bothering to check.