do not hide enum warnings via switch default label
ClosedPublic

Authored by sitter on Feb 25 2020, 10:30 AM.

Details

Summary

should we ever extend the url types the compiler will not warn us that
the new type may need handling. instead return when we have handled
a type so the fallback can be moved after the switch

Diff Detail

Repository
R320 KIO Extras
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
sitter created this revision.Feb 25 2020, 10:30 AM
Restricted Application added projects: Dolphin, Frameworks. · View Herald TranscriptFeb 25 2020, 10:30 AM
Restricted Application added subscribers: kfm-devel, kde-frameworks-devel. · View Herald Transcript
sitter requested review of this revision.Feb 25 2020, 10:30 AM
ngraham accepted this revision.Feb 25 2020, 3:58 PM
This revision is now accepted and ready to land.Feb 25 2020, 3:58 PM
This revision was automatically updated to reflect the committed changes.