[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:
parent
2c94cbdb14
commit
0b0fb93e75
@ -112,8 +112,6 @@ create_interface( Handler::Type t, const QString& selector )
|
||||
#else
|
||||
return nullptr;
|
||||
#endif
|
||||
default: // there are no others
|
||||
return nullptr;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user