Bug 1481326 - fix some clang-cl warnings and allow others. rs=bustage-fix a=IanN DONTBUILD SEAMONKEY_2_49_ESR_RELBRANCH
authorJorg K <jorgk@jorgk.com>
Tue, 07 Aug 2018 09:47:31 +0200
branchSEAMONKEY_2_49_ESR_RELBRANCH
changeset 28327 4d7eafc90bf274013dda28ab354fd337ab5131a2
parent 28326 cfe276973c7f00c7f5853cd8097bbe5ce204aa5e
child 28328 26ae3f45fae7b2ed7437020cbf87c145a1d2ff12
push id2136
push userfrgrahl@gmx.net
push dateMon, 15 Jul 2019 16:13:42 +0000
treeherdercomm-esr52@6b30146aa411 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbustage-fix, IanN
bugs1481326
Bug 1481326 - fix some clang-cl warnings and allow others. rs=bustage-fix a=IanN DONTBUILD SeaMonkey ESR52 release branch only.
mailnews/mapi/mapihook/src/msgMapiMain.cpp
mailnews/mapi/mapihook/src/msgMapiMain.h
--- a/mailnews/mapi/mapihook/src/msgMapiMain.cpp
+++ b/mailnews/mapi/mapihook/src/msgMapiMain.cpp
@@ -260,19 +260,17 @@ HRESULT nsMAPIConfiguration::GetMAPIErro
 
   return hr;
 }
 
 
 nsMAPISession::nsMAPISession(uint32_t aHwnd, const char16_t *aUserName,
                              const char16_t *aPassword, 
                              bool aForceDownLoad, const char *aKey)
-: m_bIsForcedDownLoad(aForceDownLoad),
-  m_hAppHandle(aHwnd),
-  m_nShared(1),
+: m_nShared(1),
   m_pIdKey(aKey)
 {
   m_listContext = NULL;
   m_pProfileName.Assign(aUserName);
   m_pPassword.Assign(aPassword);
 }
 
 nsMAPISession::~nsMAPISession()
--- a/mailnews/mapi/mapihook/src/msgMapiMain.h
+++ b/mailnews/mapi/mapihook/src/msgMapiMain.h
@@ -53,24 +53,20 @@ public :
   static HRESULT GetMAPIErrorFromNSError (nsresult res) ;
 };
 
 class nsMAPISession
 {
   friend class nsMAPIConfiguration;
 
   private :
-    bool     m_bIsForcedDownLoad;
-    bool     m_bApp_or_Service;
-    uint32_t m_hAppHandle;
     uint32_t m_nShared;
     nsCString m_pIdKey;
     nsString m_pProfileName;
     nsString m_pPassword;
-    int32_t m_messageIndex;
     void   *m_listContext; // used by findNext
 
   public :
     nsMAPISession(uint32_t aHwnd, const char16_t *aUserName, \
                   const char16_t *aPassword, \
                   bool aForceDownLoad, const char *aKey);
     uint32_t IncrementSession();
     uint32_t DecrementSession();