[libcalamares] Remove redundant default: in case

- the switch handles all values of the enum and the compiler should
   be smart enough to know that (therefore default isn't needed,
   nor the return afterwards).
main
Adriaan de Groot 6 years ago
parent 2c94cbdb14
commit 0b0fb93e75

@ -112,8 +112,6 @@ create_interface( Handler::Type t, const QString& selector )
#else #else
return nullptr; return nullptr;
#endif #endif
default: // there are no others
return nullptr;
} }
} }

Loading…
Cancel
Save