Bug 282275 remove NS_NOTREACHED in ReadSegments implementations
r+sr=darin
This commit is contained in:
Родитель
7fddcf5020
Коммит
6706776bf1
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -178,7 +178,6 @@ nsDiskCacheInputStream::ReadSegments(nsWriteSegmentFun writer,
|
|||
PRUint32 count,
|
||||
PRUint32 * bytesRead)
|
||||
{
|
||||
NS_NOTREACHED("ReadSegments");
|
||||
return NS_ERROR_NOT_IMPLEMENTED;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче