Last Comment Bug 795736 - Silence some [-Wunused-variable] warnings in mailnews/
: Silence some [-Wunused-variable] warnings in mailnews/
Product: MailNews Core
Classification: Components
Component: Backend (show other bugs)
: Trunk
: All All
-- trivial (vote)
: Thunderbird 18.0
Assigned To: Stefan [:stefanh]
Depends on:
  Show dependency treegraph
Reported: 2012-09-30 11:09 PDT by Stefan [:stefanh]
Modified: 2012-09-30 12:45 PDT (History)
0 users
See Also:
Crash Signature:
QA Whiteboard:
Iteration: ---
Points: ---

Remove unused variables (6.52 KB, patch)
2012-09-30 11:09 PDT, Stefan [:stefanh]
neil: review+
Details | Diff | Splinter Review

Description User image Stefan [:stefanh] 2012-09-30 11:09:01 PDT
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]
Comment 1 User image Stefan [:stefanh] 2012-09-30 11:12:49 PDT
(there are actually a few more, but I'll leave them for now)
Comment 2 User image 2012-09-30 12:28:52 PDT
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.
Comment 3 User image Stefan [:stefanh] 2012-09-30 12:45:25 PDT (comment #2 addressed)

Note You need to log in before you can comment on or make changes to this bug.