Bug 1276651 - initialize member variable |mCancelStatus|. r=valentin
authorAndi-Bogdan Postelnicu <bogdan.postelnicu@softvision.ro>
Mon, 30 May 2016 15:48:05 +0300
changeset 340588 c04872f21efe23b79cc9e1f4aa9a2e798fbb94a3
parent 340587 2dc637147b0737de466b52d7ff7490dd64e61ccc
child 340589 466534e08cbc970c40d81488c488c4ee847c784f
push id1183
push userraliiev@mozilla.com
push dateMon, 05 Sep 2016 20:01:49 +0000
treeherdermozilla-release@3148731bed45 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersvalentin
bugs1276651
milestone49.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1276651 - initialize member variable |mCancelStatus|. r=valentin MozReview-Commit-ID: AQCVagLaiuZ
netwerk/base/nsPACMan.cpp
--- a/netwerk/base/nsPACMan.cpp
+++ b/netwerk/base/nsPACMan.cpp
@@ -175,16 +175,17 @@ private:
 
 class ExecutePACThreadAction final : public Runnable
 {
 public:
   // by default we just process the queue
   explicit ExecutePACThreadAction(nsPACMan *aPACMan)
     : mPACMan(aPACMan)
     , mCancel(false)
+    , mCancelStatus(NS_OK)
     , mSetupPAC(false)
   { }
 
   void CancelQueue (nsresult status)
   {
     mCancel = true;
     mCancelStatus = status;
   }