mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-28 01:45:36 -04:00
[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
1 changed files with 0 additions and 2 deletions
|
@ -112,8 +112,6 @@ create_interface( Handler::Type t, const QString& selector )
|
|||
#else
|
||||
return nullptr;
|
||||
#endif
|
||||
default: // there are no others
|
||||
return nullptr;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue