The switch statements iterated over all possible enum values.
When a new enum value is added, it will generate a compiler warning this way.
Details
Details
- Reviewers
davidedmundson - Commits
- R108:04bbe1003882: Remove dead default branches
Diff Detail
Diff Detail
- Repository
- R108 KWin
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.