KTar::openArchive: Remove "bad" assert
ClosedPublic

Authored by aacid on Jul 25 2019, 9:35 PM.

Details

Summary

There's nothing the caller of this function can do to control the assert
condition, so asserting is "too rude", and on top of that there's
a perfectly valid if below that already handles the condition properly

Diff Detail

Repository
R243 KArchive
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
aacid created this revision.Jul 25 2019, 9:35 PM
Restricted Application added a project: Frameworks. · View Herald TranscriptJul 25 2019, 9:35 PM
Restricted Application added a subscriber: kde-frameworks-devel. · View Herald Transcript
aacid requested review of this revision.Jul 25 2019, 9:35 PM
apol accepted this revision.Jul 26 2019, 12:22 AM
This revision is now accepted and ready to land.Jul 26 2019, 12:22 AM
This revision was automatically updated to reflect the committed changes.