From 0e7f3ee6a1ecefda4b61c611a57951f807f1d5c4 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Tue, 25 Jul 2017 19:55:58 -0400 Subject: [PATCH] Added an assert for a FIXME that is now handled elsewhere. --- src/physfs_archiver_zip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/physfs_archiver_zip.c b/src/physfs_archiver_zip.c index c82eeb03..f18acecb 100644 --- a/src/physfs_archiver_zip.c +++ b/src/physfs_archiver_zip.c @@ -1497,7 +1497,7 @@ static PHYSFS_Io *zip_get_io(PHYSFS_Io *io, ZIPinfo *inf, ZIPentry *entry) PHYSFS_Io *retval = io->duplicate(io); BAIL_IF_ERRPASS(!retval, NULL); - /* !!! FIXME: if you open a dir here, it should bail ERR_NOT_A_FILE */ + assert(!entry->tree.isdir); /* should have been checked before calling. */ /* (inf) can be NULL if we already resolved. */ success = (inf == NULL) || zip_resolve(retval, inf, entry);