src/archiver_wad.c
changeset 1113 2136d64bd1ad
parent 1111 20d7c2d95a98
child 1115 bc7257f4f8da
--- a/src/archiver_wad.c	Tue Aug 24 10:03:25 2010 -0400
+++ b/src/archiver_wad.c	Tue Aug 24 10:05:58 2010 -0400
@@ -203,19 +203,6 @@
 } /* wad_open */
 
 
-static int WAD_isArchive(const char *filename, int forWriting)
-{
-    void *fh;
-    PHYSFS_uint32 fileCount,offset;
-    int retval = wad_open(filename, forWriting, &fh, &fileCount,&offset);
-
-    if (fh != NULL)
-        __PHYSFS_platformClose(fh);
-
-    return retval;
-} /* WAD_isArchive */
-
-
 static int wad_entry_cmp(void *_a, PHYSFS_uint32 one, PHYSFS_uint32 two)
 {
     if (one != two)
@@ -505,7 +492,6 @@
 const PHYSFS_Archiver __PHYSFS_Archiver_WAD =
 {
     &__PHYSFS_ArchiveInfo_WAD,
-    WAD_isArchive,          /* isArchive() method      */
     WAD_openArchive,        /* openArchive() method    */
     WAD_enumerateFiles,     /* enumerateFiles() method */
     WAD_exists,             /* exists() method         */