зеркало из https://github.com/mozilla/gecko-dev.git
fixing build warning
This commit is contained in:
Родитель
ff2d2903ad
Коммит
f5adfb90de
|
@ -28,7 +28,6 @@
|
|||
#include "nsIEventQueueService.h"
|
||||
#include "nsIProgressEventSink.h"
|
||||
#include "nsIEventSinkGetter.h"
|
||||
#include "nsIIOService.h"
|
||||
#include "nsIPipe.h"
|
||||
#include "nsILoadGroup.h"
|
||||
#include "nsIFTPContext.h"
|
||||
|
@ -38,7 +37,6 @@
|
|||
|
||||
static NS_DEFINE_IID(kProxyObjectManagerCID, NS_PROXYEVENT_MANAGER_CID);
|
||||
static NS_DEFINE_CID(kMIMEServiceCID, NS_MIMESERVICE_CID);
|
||||
static NS_DEFINE_CID(kIOServiceCID, NS_IOSERVICE_CID);
|
||||
static NS_DEFINE_CID(kEventQueueService, NS_EVENTQUEUESERVICE_CID);
|
||||
|
||||
#if defined(PR_LOGGING)
|
||||
|
@ -235,9 +233,6 @@ nsFTPChannel::OpenInputStream(PRUint32 startPosition, PRInt32 readCount,
|
|||
|
||||
PR_LOG(gFTPLog, PR_LOG_DEBUG, ("nsFTPChannel::OpenInputStream() called\n"));
|
||||
|
||||
NS_WITH_SERVICE(nsIIOService, serv, kIOServiceCID, &rv);
|
||||
if (NS_FAILED(rv)) return rv;
|
||||
|
||||
rv = serv->NewSyncStreamListener(_retval /* nsIInputStream **inStream */,
|
||||
&mBufferOutputStream /* nsIBufferOutputStream **outStream */,
|
||||
&mListener/* nsIStreamListener **listener */);
|
||||
|
@ -299,9 +294,6 @@ nsFTPChannel::AsyncRead(PRUint32 startPosition, PRInt32 readCount,
|
|||
NS_ADDREF(mContext);
|
||||
}
|
||||
|
||||
NS_WITH_SERVICE(nsIIOService, serv, kIOServiceCID, &rv);
|
||||
if (NS_FAILED(rv)) return rv;
|
||||
|
||||
mListener = listener;
|
||||
NS_ADDREF(mListener);
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче