Kaydet (Commit) 7dd08985 authored tarafından Caolán McNamara's avatar Caolán McNamara

WaE: ignoring return value of 'fwrite'

üst d7eb0ef5
......@@ -104,9 +104,8 @@ File::do_write( const void * i_pSrc,
if ( eLastIO == io_write )
::fseek( pStream, 0, SEEK_CUR );
uintt ret = position();
::fwrite( i_pSrc, 1, i_nNrofBytes, pStream );
ret = position() - ret;
uintt ret = ::fwrite( i_pSrc, 1, i_nNrofBytes, pStream );
eLastIO = io_write;
return ret;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment