Removed a FIXME: actually, the code DOES set an error, as far as I can tell.
This commit is contained in:
parent
b7f3e5bd1e
commit
76fdd9cab6
|
@ -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));
|
||||||
|
|
Loading…
Reference in New Issue