Remove dead default branches
ClosedPublic

Authored by gladhorn on Oct 28 2018, 11:55 AM.

Details

Summary

The switch statements iterated over all possible enum values.
When a new enum value is added, it will generate a compiler warning this way.

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.
gladhorn created this revision.Oct 28 2018, 11:55 AM
Restricted Application added a project: KWin. · View Herald TranscriptOct 28 2018, 11:55 AM
Restricted Application added a subscriber: kwin. · View Herald Transcript
gladhorn requested review of this revision.Oct 28 2018, 11:55 AM
davidedmundson accepted this revision.Oct 28 2018, 5:13 PM
This revision is now accepted and ready to land.Oct 28 2018, 5:13 PM
This revision was automatically updated to reflect the committed changes.