Skip to content

Commit

Permalink
Removed a FIXME.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Mar 20, 2012
1 parent ba676b2 commit 584119a
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/archiver_dir.c
Expand Up @@ -47,9 +47,6 @@ static void *DIR_openArchive(PHYSFS_Io *io, const char *name, int forWriting)

assert(io == NULL); /* shouldn't create an Io for these. */
BAIL_IF_MACRO(!__PHYSFS_platformStat(name, &exists, &st), ERRPASS, NULL);
/* !!! FIXME: the failed Stat() call will BAIL before we check (exists) */
/* !!! FIXME: ...should we even be checking for existance here...? */
BAIL_IF_MACRO(!exists, PHYSFS_ERR_NO_SUCH_PATH, NULL);
if (st.filetype != PHYSFS_FILETYPE_DIRECTORY)
BAIL_MACRO(PHYSFS_ERR_UNSUPPORTED, NULL);

Expand Down

0 comments on commit 584119a

Please sign in to comment.