Closed
Bug 1118027
Opened 9 years ago
Closed 9 years ago
fix some compile warnings in compose/src/nsMsgSend.cpp
Categories
(MailNews Core :: Composition, defect)
MailNews Core
Composition
Tracking
(Not tracked)
RESOLVED
FIXED
Thunderbird 38.0
People
(Reporter: aceman, Assigned: aceman)
Details
Attachments
(1 file, 2 obsolete files)
1.33 KB,
patch
|
jcranmer
:
review+
|
Details | Diff | Splinter Review |
On gcc 4.8: mailnews/compose/src/nsMsgSend.cpp: In member function 'virtual nsresult nsMsgComposeAndSend::GatherMimeAttachments()': mailnews/compose/src/nsMsgSend.cpp:430:8: warning: variable 'multipart_p' set but not used [-Wunused-but-set-variable] bool multipart_p = false; ^ mailnews/compose/src/nsMsgSend.cpp:431:8: warning: variable 'plaintext_is_mainbody_p' set but not used [-Wunused-but-set-variable] bool plaintext_is_mainbody_p = false; // only using text converted from HTML? ^ mailnews/compose/src/nsMsgSend.cpp:433:9: warning: variable 'buffer_tail' set but not used [-Wunused-but-set-variable] char *buffer_tail = 0; ^ mailnews/compose/src/nsMsgSend.cpp:435:8: warning: variable 'tonews' set but not used [-Wunused-but-set-variable] bool tonews; ^ mailnews/compose/src/nsMsgSend.cpp: In member function 'nsresult nsMsgComposeAndSend::HackAttachments(nsIArray*, nsIArray*)': mailnews/compose/src/nsMsgSend.cpp:2380:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < m_attachment_count; i++) { ^
Attachment #8544249 -
Flags: review?(Pidgeot18)
Comment 2•9 years ago
|
||
Comment on attachment 8544249 [details] [diff] [review] patch Review of attachment 8544249 [details] [diff] [review]: ----------------------------------------------------------------- Most of this patch doesn't apply anymore.
Attachment #8544249 -
Flags: review?(Pidgeot18) → review-
Right, so only this remains.
Attachment #8544249 -
Attachment is obsolete: true
Attachment #8547109 -
Flags: review?(Pidgeot18)
Comment 4•9 years ago
|
||
Sorry but I had bug 1114328 ongoing for two weeks. This has just been merged but maybe your last change is still relevant (-Wsign-compare).
Comment 5•9 years ago
|
||
Comment on attachment 8547109 [details] [diff] [review] patch v2 Review of attachment 8547109 [details] [diff] [review]: ----------------------------------------------------------------- This patch appears to have been superseded.
Attachment #8547109 -
Flags: review?(Pidgeot18) → review-
Yeah, suddenly everybody wants into this file ;)
Attachment #8547109 -
Attachment is obsolete: true
Attachment #8549029 -
Flags: review?(Pidgeot18)
Updated•9 years ago
|
Attachment #8549029 -
Flags: review?(Pidgeot18) → review+
Comment 8•9 years ago
|
||
https://hg.mozilla.org/comm-central/rev/24fd67735890 -> FIXED
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Keywords: checkin-needed
OS: Linux → All
Hardware: x86 → All
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 38.0
You need to log in
before you can comment on or make changes to this bug.
Description
•