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
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
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.