Gets rid of a warning on higher warning levels (switching on an enum type should handle cases explicitly)