@@ -125,12 +125,11 @@ return false; return [self lowlevelIsAtEndOfStream]; } -- (size_t)readIntoBuffer: (void *)buffer - length: (size_t)length +- (size_t)readIntoBuffer: (void *)buffer length: (size_t)length { if (_readBufferLength == 0) { /* * For small sizes, it is cheaper to read more and cache the * remainder - even if that means more copying of data - than @@ -615,11 +614,10 @@ } @finally { free(buffer); } [data makeImmutable]; - return data; } - (OFString *)readStringWithLength: (size_t)length {