Bug 1276651 - initialize member variable |mCancelStatus|. r=valentin
authorAndi-Bogdan Postelnicu <bogdan.postelnicu@softvision.ro>
Mon, 30 May 2016 15:48:05 +0300
changeset 299585 c04872f21efe23b79cc9e1f4aa9a2e798fbb94a3
parent 299584 2dc637147b0737de466b52d7ff7490dd64e61ccc
child 299586 466534e08cbc970c40d81488c488c4ee847c784f
push id30299
push usercbook@mozilla.com
push dateTue, 31 May 2016 10:00:19 +0000
treeherdermozilla-central@864cdd00360c [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;
   }