Bug 1481326 - Follow-up: Remove another unused variable. rs=bustage-fix a=IanN DONTBUILD SEAMONKEY_2_49_ESR_RELBRANCH
authorJorg K <jorgk@jorgk.com>
Tue, 07 Aug 2018 10:35:44 +0200
branchSEAMONKEY_2_49_ESR_RELBRANCH
changeset 28328 26ae3f45fae7b2ed7437020cbf87c145a1d2ff12
parent 28327 4d7eafc90bf274013dda28ab354fd337ab5131a2
child 28329 d4892a924deb1d5bf6ee18c97a8cefa2bce4be92
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 - Follow-up: Remove another unused variable. rs=bustage-fix a=IanN DONTBUILD SeaMonkey ESR52 release branch only.
mailnews/mapi/mapihook/src/msgMapiImp.cpp
--- a/mailnews/mapi/mapihook/src/msgMapiImp.cpp
+++ b/mailnews/mapi/mapihook/src/msgMapiImp.cpp
@@ -610,17 +610,17 @@ lpnsMapiMessage MsgMapiListContext::GetM
   lpnsMapiMessage message = (lpnsMapiMessage) CoTaskMemAlloc (sizeof(nsMapiMessage));
   memset(message, 0, sizeof(nsMapiMessage));
   if (message)
   {
     nsCString subject;
     nsCString author;
     nsCOMPtr <nsIMsgDBHdr> msgHdr;
 
-    nsresult rv = m_db->GetMsgHdrForKey (key, getter_AddRefs(msgHdr));
+    m_db->GetMsgHdrForKey (key, getter_AddRefs(msgHdr));
     if (msgHdr)
     {
       msgHdr->GetSubject (getter_Copies(subject));
       message->lpszSubject = (char *) CoTaskMemAlloc(subject.Length() + 1);
       strcpy((char *) message->lpszSubject, subject.get());
       uint32_t date;
       (void) msgHdr->GetDateInSeconds(&date);
       message->lpszDateReceived = ConvertDateToMapiFormat (date);