From f5adfb90dec04aaaaaaddd1d48e17db2dc641961 Mon Sep 17 00:00:00 2001 From: "valeski%netscape.com" Date: Fri, 22 Oct 1999 04:56:24 +0000 Subject: [PATCH] fixing build warning --- netwerk/protocol/ftp/src/nsFTPChannel.cpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/netwerk/protocol/ftp/src/nsFTPChannel.cpp b/netwerk/protocol/ftp/src/nsFTPChannel.cpp index f7c71d00f0db..90846f744c1b 100644 --- a/netwerk/protocol/ftp/src/nsFTPChannel.cpp +++ b/netwerk/protocol/ftp/src/nsFTPChannel.cpp @@ -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);