Closed Bug 795736 Opened 8 years ago Closed 8 years ago

Silence some [-Wunused-variable] warnings in mailnews/

Categories

(MailNews Core :: Backend, defect, trivial)

defect
Not set
trivial

Tracking

(Not tracked)

RESOLVED FIXED
Thunderbird 18.0

People

(Reporter: stefanh, Assigned: stefanh)

Details

Attachments

(1 file)

imap/src/nsImapMailFolder.cpp:1290:12: warning: unused variable 'rv' [-Wunused-variable]
imap/src/nsImapMailFolder.cpp:2755:10: warning: unused variable 'created' [-Wunused-variable]
imap/src/nsImapMailFolder.cpp:3445:13: warning: unused variable 'newFlags' [-Wunused-variable]
imap/src/nsImapProtocol.cpp:8485:10: warning: unused variable 'deltaTime' [-Wunused-variable]
imap/src/nsImapUndoTxn.cpp:632:12: warning: unused variable 'hdrKey' [-Wunused-variable]
local/src/nsLocalMailFolder.cpp:1018:8: warning: unused variable 'folderEmpty' [-Wunused-variable]
mime/src/mimemalt.cpp:192:48: warning: unused variable 'in_attach' [-Wunused-variable]
mime/src/mimemoz2.cpp:700:13: warning: unused variable 'res' [-Wunused-variable]
Attachment #666350 - Flags: review?(neil)
(there are actually a few more, but I'll leave them for now)
Comment on attachment 666350 [details] [diff] [review]
Remove unused variables

>-            // msgHdr->OrFlags(nsMsgMessageFlags::Read, &newFlags);  // mark read in trash.
Please don't remove this. r=me with that fixed.
Attachment #666350 - Flags: review?(neil) → review+
http://hg.mozilla.org/comm-central/rev/6140a6730c83 (comment #2 addressed)
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.