The default bug view has changed. See this FAQ.

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

RESOLVED FIXED in Thunderbird 18.0

Status

MailNews Core
Backend
--
trivial
RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: stefanh, Assigned: stefanh)

Tracking

Trunk
Thunderbird 18.0

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Assignee)

Description

5 years ago
Created attachment 666350 [details] [diff] [review]
Remove unused variables

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)
(Assignee)

Comment 1

5 years ago
(there are actually a few more, but I'll leave them for now)

Comment 2

5 years ago
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+
(Assignee)

Comment 3

5 years ago
http://hg.mozilla.org/comm-central/rev/6140a6730c83 (comment #2 addressed)
Status: ASSIGNED → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.