]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/file.cpp
Fix new wxExecute() code compilation with wxUSE_CONSOLE_EVENTLOOP==0.
[wxWidgets.git] / src / common / file.cpp
index e553b2c8335684745e81cfc636f69073b79fce4f..d6b4620e7dbb2bc319e336df30fad3fbb7c6017d 100644 (file)
@@ -511,10 +511,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;
 }