Bug 795712 - Silence [-Wunused-private-field] warnings in mailnews. r=Neil.
Sun, 30 Sep 2012 19:16:07 +0200
changeset 13762 96c49dd054c10b7dca7dc72afb190c7372400d54
parent 13761 b79fb7f5ae128ec50f6f780027a235dcdf6c785b
child 13763 567a0c8103991fd1e9726c7131a0ceba599e0b66
push id762
push userbugzilla@standard8.plus.com
push dateMon, 19 Nov 2012 21:16:42 +0000
treeherdercomm-beta@4a2f61509b17 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
Bug 795712 - Silence [-Wunused-private-field] warnings in mailnews. r=Neil.
--- a/mailnews/compose/src/nsMsgSendLater.h
+++ b/mailnews/compose/src/nsMsgSendLater.h
@@ -111,18 +111,16 @@ private:
   nsCOMPtr<nsIUrlListener> mShutdownListener;
   // File output stuff...
   nsCOMPtr<nsIFile>         mTempFile;
   nsCOMPtr<nsIOutputStream> mOutFile;
-  void                      *mTagData;
   // For building headers and stream parsing...
   char                      *m_to;
   char                      *m_bcc;
   char                      *m_fcc;
   char                      *m_newsgroups;
   char                      *m_newshost;
   char                      *m_headers;
   int32_t                   m_flags;
--- a/mailnews/compose/src/nsSmtpProtocol.h
+++ b/mailnews/compose/src/nsSmtpProtocol.h
@@ -97,17 +97,16 @@ private:
     // the url.
     nsCOMPtr<nsISupports> mPendingConsumer;
     // the nsISmtpURL that is currently running
     nsCOMPtr<nsISmtpUrl> m_runningURL;
     // the error state we want to set on the url
     nsresult m_urlErrorState;
-    uint32_t m_LastTime;
     nsCOMPtr<nsIMsgStatusFeedback> m_statusFeedback;
     // Generic state information -- What state are we in? What state do we want to go to
     // after the next response? What was the last response code? etc. 
     SmtpState m_nextState;
     SmtpState m_nextStateAfterResponse;
     int32_t m_responseCode;    /* code returned from Smtp server */
     int32_t m_previousResponseCode; 
--- a/mailnews/import/src/nsImportMail.cpp
+++ b/mailnews/import/src/nsImportMail.cpp
@@ -1003,17 +1003,16 @@ class GetSubFoldersRunnable : public nsR
   GetSubFoldersRunnable(nsIMsgFolder *aFolder,
                         nsISimpleEnumerator **aEnumerator);
   nsCOMPtr<nsIMsgFolder> m_folder;
   nsISimpleEnumerator **m_enumerator;
-  nsresult m_status;
 GetSubFoldersRunnable::GetSubFoldersRunnable(nsIMsgFolder *aFolder,
                                              nsISimpleEnumerator **aEnumerator) :
   m_folder(aFolder), m_enumerator(aEnumerator)
--- a/mailnews/local/src/nsMailboxProtocol.h
+++ b/mailnews/local/src/nsMailboxProtocol.h
@@ -62,31 +62,29 @@ public:
   NS_IMETHOD OnStartRequest(nsIRequest *request, nsISupports *ctxt);
   NS_IMETHOD OnStopRequest(nsIRequest *request, nsISupports *ctxt, nsresult aStatus);
   nsCOMPtr<nsIMailboxUrl>  m_runningUrl; // the nsIMailboxURL that is currently running
   nsMailboxAction m_mailboxAction; // current mailbox action associated with this connnection...
-  int32_t      m_originalContentLength; /* the content length at the time of calling graph progress */
   uint64_t m_msgOffset;
   // Event sink handles
   nsCOMPtr<nsIStreamListener> m_mailboxParser;
   // Local state for the current operation
   nsMsgLineStreamBuffer   * m_lineStreamBuffer; // used to efficiently extract lines from the incoming data stream
   // Generic state information -- What state are we in? What state do we want to go to
   // after the next response? What was the last response code? etc.
   MailboxStatesEnum  m_nextState;
   MailboxStatesEnum  m_initialState;
   int64_t   mCurrentProgress;
-  uint32_t  m_messageID;
         // can we just use the base class m_tempMsgFile?
   nsCOMPtr<nsIFile> m_tempMessageFile;
         nsCOMPtr<nsIOutputStream> m_msgFileOutputStream;
   // this is used to hold the source mailbox file open when move/copying
   // multiple messages.
   nsCOMPtr<nsIInputStream> m_multipleMsgMoveCopyStream;