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
{
public:
GetSubFoldersRunnable(nsIMsgFolder *aFolder,
nsISimpleEnumerator **aEnumerator);
NS_DECL_NSIRUNNABLE
private:
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);
private:
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;