Bug 927366 - nsJARInputStream shouldn't crash when it is asked about buffering;r=taras

This commit is contained in:
David Rajchenbach-Teller 2013-10-18 13:54:00 +01:00
Родитель 5b5a314d0e
Коммит b3f62b325d
1 изменённых файлов: 0 добавлений и 1 удалений

Просмотреть файл

@ -229,7 +229,6 @@ NS_IMETHODIMP
nsJARInputStream::ReadSegments(nsWriteSegmentFun writer, void * closure, uint32_t count, uint32_t *_retval)
{
// don't have a buffer to read from, so this better not be called!
NS_NOTREACHED("Consumers should be using Read()!");
return NS_ERROR_NOT_IMPLEMENTED;
}