[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).
This commit is contained in:
Adriaan de Groot 2019-05-13 12:33:03 +02:00
parent 2c94cbdb14
commit 0b0fb93e75

View File

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