зеркало из https://github.com/mozilla/pjs.git
Fix declaration order to quiet build warning
This commit is contained in:
Родитель
f39c3e2a4b
Коммит
7180b8f97a
|
@ -126,16 +126,16 @@ NS_IMPL_THREADSAFE_ISUPPORTS1(nsJARDownloadObserver, nsIStreamObserver)
|
|||
#define NS_DEFAULT_JAR_BUFFER_MAX_SIZE (256*1024)
|
||||
|
||||
nsJARChannel::nsJARChannel()
|
||||
: mContentType(nsnull),
|
||||
mContentLength(-1),
|
||||
mLoadAttributes(LOAD_NORMAL),
|
||||
: mLoadAttributes(LOAD_NORMAL),
|
||||
mStartPosition(0),
|
||||
mReadCount(-1),
|
||||
mContentType(nsnull),
|
||||
mContentLength(-1),
|
||||
mJAREntry(nsnull),
|
||||
mMonitor(nsnull),
|
||||
mBufferSegmentSize(NS_DEFAULT_JAR_BUFFER_SEGMENT_SIZE),
|
||||
mBufferMaxSize(NS_DEFAULT_JAR_BUFFER_MAX_SIZE),
|
||||
mStatus(NS_OK)
|
||||
mStatus(NS_OK),
|
||||
mMonitor(nsnull)
|
||||
{
|
||||
NS_INIT_REFCNT();
|
||||
|
||||
|
|
|
@ -136,8 +136,9 @@ nsInputStreamIO::GetName(char* *aName)
|
|||
// nsStreamIOChannel methods:
|
||||
|
||||
nsStreamIOChannel::nsStreamIOChannel()
|
||||
: mContentType(nsnull), mContentLength(-1), mLoadAttributes(LOAD_NORMAL),
|
||||
mBufferSegmentSize(0), mBufferMaxSize(0), mStatus(NS_OK)
|
||||
: mContentType(nsnull), mContentLength(-1),
|
||||
mBufferSegmentSize(0), mBufferMaxSize(0),
|
||||
mLoadAttributes(LOAD_NORMAL), mStatus(NS_OK)
|
||||
{
|
||||
NS_INIT_REFCNT();
|
||||
}
|
||||
|
|
|
@ -41,15 +41,15 @@ static NS_DEFINE_CID(kStandardURLCID, NS_STANDARDURL_CID);
|
|||
nsFileChannel::nsFileChannel()
|
||||
: mIOFlags(-1),
|
||||
mPerm(-1),
|
||||
#ifdef DEBUG
|
||||
mInitiator(nsnull),
|
||||
#endif
|
||||
mLoadAttributes(LOAD_NORMAL),
|
||||
mBufferSegmentSize(0),
|
||||
mBufferMaxSize(0),
|
||||
mTransferOffset(0),
|
||||
mTransferCount(-1),
|
||||
mBufferSegmentSize(0),
|
||||
mBufferMaxSize(0),
|
||||
mStatus(NS_OK)
|
||||
#ifdef DEBUG
|
||||
,mInitiator(nsnull)
|
||||
#endif
|
||||
{
|
||||
NS_INIT_REFCNT();
|
||||
}
|
||||
|
|
|
@ -77,16 +77,16 @@ static NS_DEFINE_IID(kEventQueueServiceCID, NS_EVENTQUEUESERVICE_CID);
|
|||
|
||||
nsHTTPChannel::nsHTTPChannel(nsIURI* i_URL, nsHTTPHandler* i_Handler):
|
||||
mResponse(nsnull),
|
||||
mRequest (nsnull),
|
||||
mHandler(dont_QueryInterface(i_Handler)),
|
||||
mRequest (nsnull),
|
||||
mHTTPServerListener(nsnull),
|
||||
mResponseContext(nsnull),
|
||||
mCachedResponse(nsnull),
|
||||
mURI(dont_QueryInterface(i_URL)),
|
||||
mConnected(PR_FALSE),
|
||||
mState(HS_IDLE),
|
||||
mLoadAttributes(LOAD_NORMAL),
|
||||
mLoadGroup(nsnull),
|
||||
mCachedResponse(nsnull),
|
||||
mCachedContentIsAvailable(PR_FALSE),
|
||||
mCachedContentIsValid(PR_FALSE),
|
||||
mFiredOnHeadersAvailable(PR_FALSE),
|
||||
|
|
|
@ -126,16 +126,16 @@ NS_IMPL_THREADSAFE_ISUPPORTS1(nsJARDownloadObserver, nsIStreamObserver)
|
|||
#define NS_DEFAULT_JAR_BUFFER_MAX_SIZE (256*1024)
|
||||
|
||||
nsJARChannel::nsJARChannel()
|
||||
: mContentType(nsnull),
|
||||
mContentLength(-1),
|
||||
mLoadAttributes(LOAD_NORMAL),
|
||||
: mLoadAttributes(LOAD_NORMAL),
|
||||
mStartPosition(0),
|
||||
mReadCount(-1),
|
||||
mContentType(nsnull),
|
||||
mContentLength(-1),
|
||||
mJAREntry(nsnull),
|
||||
mMonitor(nsnull),
|
||||
mBufferSegmentSize(NS_DEFAULT_JAR_BUFFER_SEGMENT_SIZE),
|
||||
mBufferMaxSize(NS_DEFAULT_JAR_BUFFER_MAX_SIZE),
|
||||
mStatus(NS_OK)
|
||||
mStatus(NS_OK),
|
||||
mMonitor(nsnull)
|
||||
{
|
||||
NS_INIT_REFCNT();
|
||||
|
||||
|
|
|
@ -55,15 +55,15 @@ PRLogModuleInfo* gResChannelLog = nsnull;
|
|||
|
||||
nsResChannel::nsResChannel()
|
||||
: mLoadAttributes(LOAD_NORMAL),
|
||||
#ifdef DEBUG
|
||||
mInitiator(nsnull),
|
||||
#endif
|
||||
mState(QUIESCENT),
|
||||
mStartPosition(0),
|
||||
mCount(-1),
|
||||
mBufferSegmentSize(0),
|
||||
mBufferMaxSize(0),
|
||||
mStatus(NS_OK)
|
||||
#ifdef DEBUG
|
||||
,mInitiator(nsnull)
|
||||
#endif
|
||||
{
|
||||
NS_INIT_REFCNT();
|
||||
#if defined(PR_LOGGING)
|
||||
|
|
Загрузка…
Ссылка в новой задаче