Silence some -Wswitch-default warnings.

This will cause enum warnings.