Revert "core: Remove select case not possibly reached"

This reverts commit cd8078db, which although it made a static analyzer
happy, unfortunately got compilers to complain (with -Wswitch-enum
enabled).

Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
2 files changed