Bug 1276635 - initialize member variables |mFlags| and |mWaitingForRedirectCallback|. r=valentin
authorAndi-Bogdan Postelnicu <bogdan.postelnicu@softvision.ro>
Mon, 30 May 2016 15:20:00 +0300
changeset 338573 c46e0dfad282f738981fd62bb91f5b5161c160e1
parent 338572 38c9fa1d2e59966341e024e27059ee3354446d4a
child 338574 2dc637147b0737de466b52d7ff7490dd64e61ccc
push id6249
push userjlund@mozilla.com
push dateMon, 01 Aug 2016 13:59:36 +0000
treeherdermozilla-beta@bad9d4f5bf7e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersvalentin
bugs1276635
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 1276635 - initialize member variables |mFlags| and |mWaitingForRedirectCallback|. r=valentin MozReview-Commit-ID: 666SrPKUAed
netwerk/base/nsAsyncRedirectVerifyHelper.cpp
--- a/netwerk/base/nsAsyncRedirectVerifyHelper.cpp
+++ b/netwerk/base/nsAsyncRedirectVerifyHelper.cpp
@@ -41,17 +41,19 @@ public:
        return NS_OK;
     }
 private:
     nsCOMPtr<nsIAsyncVerifyRedirectCallback> mCallback;
     nsresult mResult;
 };
 
 nsAsyncRedirectVerifyHelper::nsAsyncRedirectVerifyHelper()
-    : mCallbackInitiated(false),
+    : mFlags(0),
+      mWaitingForRedirectCallback(false),
+      mCallbackInitiated(false),
       mExpectedCallbacks(0),
       mResult(NS_OK)
 {
 }
 
 nsAsyncRedirectVerifyHelper::~nsAsyncRedirectVerifyHelper()
 {
     NS_ASSERTION(NS_FAILED(mResult) || mExpectedCallbacks == 0,