Fixed Clang warning on enum not handled