stream: warn on stream_Read() and stream_Peek() unused result
Both functions can always fail. Even if the stream size is known, and larger than the requested bytes, reading can fail due to lower level errors. stream_Peek() can also fail to allocate memory. Not checking the return value is a bug.
Showing
Please register or sign in to comment