diff options
Diffstat (limited to 'common')
-rw-r--r-- | common/file.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/common/file.cpp b/common/file.cpp index d2abdf75cc..9376749866 100644 --- a/common/file.cpp +++ b/common/file.cpp @@ -246,7 +246,6 @@ uint32 File::read(void *ptr, uint32 len) { real_len = fread(ptr2, 1, len, _handle); if (real_len < len) { - clearerr(_handle); _ioFailed = true; } @@ -263,7 +262,6 @@ uint32 File::write(const void *ptr, uint32 len) { return 0; if ((uint32)fwrite(ptr, 1, len, _handle) != len) { - clearerr(_handle); _ioFailed = true; } |