Bug 282275 remove NS_NOTREACHED in ReadSegments implementations

r+sr=darin
This commit is contained in:
cbiesinger%web.de 2005-02-18 18:39:53 +00:00
parent 628cca75d3
commit f25a0b7537
5 changed files with 1 additions and 5 deletions

View File

@ -176,7 +176,6 @@ nsJARInputThunk::ReadSegments(nsWriteSegmentFun writer, void *closure,
PRUint32 count, PRUint32 *countRead)
{
// stream transport does only calls Read()
NS_NOTREACHED("nsJarInputThunk::ReadSegments");
return NS_ERROR_NOT_IMPLEMENTED;
}

View File

@ -446,7 +446,6 @@ nsDirectoryIndexStream::Read(char* aBuf, PRUint32 aCount, PRUint32* aReadCount)
NS_IMETHODIMP
nsDirectoryIndexStream::ReadSegments(nsWriteSegmentFun writer, void * closure, PRUint32 count, PRUint32 *_retval)
{
NS_NOTREACHED("ReadSegments");
return NS_ERROR_NOT_IMPLEMENTED;
}

View File

@ -353,7 +353,6 @@ nsFileInputStream::ReadSegments(nsWriteSegmentFun aWriter, void* aClosure,
// the writer does not consume all data. If you want to call ReadSegments,
// wrap a BufferedInputStream around the file stream. That will call
// Read().
NS_NOTREACHED("ReadSegments");
return NS_ERROR_NOT_IMPLEMENTED;
}

View File

@ -529,7 +529,7 @@ nsresult nsCacheEntryDescriptor::
nsInputStreamWrapper::ReadSegments(nsWriteSegmentFun writer, void *closure,
PRUint32 count, PRUint32 *countRead)
{
NS_NOTREACHED("cache stream not buffered");
// cache stream not buffered
return NS_ERROR_NOT_IMPLEMENTED;
}

View File

@ -178,7 +178,6 @@ nsDiskCacheInputStream::ReadSegments(nsWriteSegmentFun writer,
PRUint32 count,
PRUint32 * bytesRead)
{
NS_NOTREACHED("ReadSegments");
return NS_ERROR_NOT_IMPLEMENTED;
}