Remove warnings about ignoring return value of removeHeader()
ClosedPublic

Authored by gjditchfield on Oct 8 2019, 2:54 AM.

Details

Summary

Most uses of Content::RemoveHeader() do not check its return value;
they want to remove the header if it is present, but don't care if it
isn't. This change silences the unnecessary compilation warnings.

Diff Detail

Repository
R180 PIM: KMime
Branch
removeHeader (branched from master)
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 17427
Build 17445: arc lint + arc unit
gjditchfield created this revision.Oct 8 2019, 2:54 AM
Restricted Application added a project: KDE PIM. · View Herald TranscriptOct 8 2019, 2:54 AM
Restricted Application added a subscriber: kde-pim. · View Herald Transcript
gjditchfield requested review of this revision.Oct 8 2019, 2:54 AM
dvratil accepted this revision.Oct 8 2019, 9:32 AM
This revision is now accepted and ready to land.Oct 8 2019, 9:32 AM
This revision was automatically updated to reflect the committed changes.