Explorar o código

Removed a FIXME: actually, the code DOES set an error, as far as I can tell.

Ryan C. Gordon %!s(int64=14) %!d(string=hai) anos
pai
achega
76fdd9cab6
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  1. 0 1
      src/physfs.c

+ 0 - 1
src/physfs.c

@@ -2240,7 +2240,6 @@ PHYSFS_File *PHYSFS_openRead(const char *_fname)
             } /* if */
             } /* if */
         } /* for */
         } /* for */
 
 
-        /* !!! FIXME: may not set an error if openRead didn't fail. */
         GOTO_IF_MACRO(!io, ERRPASS, openReadEnd);
         GOTO_IF_MACRO(!io, ERRPASS, openReadEnd);
 
 
         fh = (FileHandle *) allocator.Malloc(sizeof (FileHandle));
         fh = (FileHandle *) allocator.Malloc(sizeof (FileHandle));