D24484: Remove warnings about ignoring return value of removeHeader()

Glen Ditchfield noreply at phabricator.kde.org
Tue Oct 8 03:54:38 BST 2019


gjditchfield created this revision.
Herald added a project: KDE PIM.
Herald added a subscriber: kde-pim.
gjditchfield requested review of this revision.

REVISION 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.

REPOSITORY
  R180 PIM: KMime

BRANCH
  removeHeader (branched from master)

REVISION DETAIL
  https://phabricator.kde.org/D24484

AFFECTED FILES
  src/kmime_content.h

To: gjditchfield
Cc: kde-pim, fbampaloukas, dvasin, rodsevich, winterz, vkrause, mlaurent, knauss, dvratil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20191008/4c35b82e/attachment-0001.html>


More information about the kde-pim mailing list