Remove warnings about ignoring return value of removeHeader()
ClosedPublic

Authored by gjditchfield on Tue, Oct 8, 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.Tue, Oct 8, 2:54 AM
Restricted Application added a project: KDE PIM. · View Herald TranscriptTue, Oct 8, 2:54 AM
Restricted Application added a subscriber: kde-pim. · View Herald Transcript
gjditchfield requested review of this revision.Tue, Oct 8, 2:54 AM
dvratil accepted this revision.Tue, Oct 8, 9:32 AM
This revision is now accepted and ready to land.Tue, Oct 8, 9:32 AM
This revision was automatically updated to reflect the committed changes.