Closed Bug 1368042 Opened 8 years ago Closed 8 years ago

Port |Bug 1366584 - Add initial [must_use] properties to PSM IDL files| to mailnews.

Categories

(MailNews Core :: Backend, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Thunderbird 55.0

People

(Reporter: jorgk-bmo, Assigned: jorgk-bmo)

Details

Attachments

(2 files)

Currently busted on Linux and Mac with: /builds/slave/tb-c-cen-m64-00000000000000000/build/mailnews/extensions/smime/src/nsMsgComposeSecure.cpp:896:5: error: ignoring return value of function declared with 'warn_unused_result' attribute [-Werror,-Wunused-result] [log…] /builds/slave/tb-c-cen-m64-00000000000000000/build/mailnews/extensions/smime/src/nsMsgComposeSecure.cpp:914:5: error: ignoring return value of function declared with 'warn_unused_result' attribute [-Werror,-Wunused-result] [log…] That's two calls to FindCertByDBKey() which ignore their status.
Version: 52 → Trunk
This should do it.
Assignee: nobody → jorgk
Status: NEW → ASSIGNED
https://hg.mozilla.org/comm-central/rev/60de4a384f7e4c0e9bf34ecabaa211abfa2b65c4 There may be more compile errors, so this may be an incremental fix since I don't compile on Mac/Linux and anything goes on Windows ;-)
Second time lucky ;-)
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 55.0
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: