Add default case to switch statement so that it compiles with gcc -Wswitch-default.