Bug 613643: Reorder nsBaseChannel constructor init list to fix build warning. a=azakai r=dougt DONTBUILD
authorDaniel Holbert <dholbert@cs.stanford.edu>
Fri, 19 Nov 2010 15:53:30 -0800
changeset 57931 356c5d923a139e8cb917871acea434a9cb8335b0
parent 57930 f380866f64b2538cbbf85a6c7dabf71dec84cf9c
child 57932 1c82a99070c21f64b16522315286886935e8f732
push id1
push usershaver@mozilla.com
push dateTue, 04 Jan 2011 17:58:04 +0000
reviewersazakai, dougt
bugs613643
milestone2.0b8pre
Bug 613643: Reorder nsBaseChannel constructor init list to fix build warning. a=azakai r=dougt DONTBUILD
netwerk/base/src/nsBaseChannel.cpp
--- a/netwerk/base/src/nsBaseChannel.cpp
+++ b/netwerk/base/src/nsBaseChannel.cpp
@@ -82,21 +82,21 @@ private:
 #define SUSPEND_PUMP_FOR_SCOPE() \
   ScopedRequestSuspender pump_suspender__(mPump)
 
 //-----------------------------------------------------------------------------
 // nsBaseChannel
 
 nsBaseChannel::nsBaseChannel()
   : mLoadFlags(LOAD_NORMAL)
-  , mStatus(NS_OK)
   , mQueriedProgressSink(PR_TRUE)
   , mSynthProgressEvents(PR_FALSE)
   , mWasOpened(PR_FALSE)
   , mWaitingOnAsyncRedirect(PR_FALSE)
+  , mStatus(NS_OK)
 {
   mContentType.AssignLiteral(UNKNOWN_CONTENT_TYPE);
 }
 
 nsresult
 nsBaseChannel::Redirect(nsIChannel *newChannel, PRUint32 redirectFlags,
                         PRBool openNewChannel)
 {