X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5fd78a8e6f21521e5bb5280119f0c5c62fab9cc5..e733c4ce1e24cf7e4b0b0d8362fc59aaa7a7641c:/src/common/file.cpp diff --git a/src/common/file.cpp b/src/common/file.cpp index e553b2c833..b2a5aca736 100644 --- a/src/common/file.cpp +++ b/src/common/file.cpp @@ -5,7 +5,6 @@ // Author: Vadim Zeitlin // Modified by: // Created: 29/01/98 -// RCS-ID: $Id$ // Copyright: (c) 1998 Vadim Zeitlin // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -511,10 +510,6 @@ bool wxFile::Eof() const { wxLogSysError(_("can't determine if the end of file is reached on descriptor %d"), m_fd); } - else if ( iRc != 1 ) - { - wxFAIL_MSG(wxT("invalid eof() return value.")); - } return true; }