Browse Source

FIXME removal: This is an appropriate error code already.

Ryan C. Gordon 8 years ago
parent
commit
0d249cae36
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/physfs.c

+ 1 - 1
src/physfs.c

@@ -1431,7 +1431,7 @@ static int doRegisterArchiver(const PHYSFS_Archiver *_archiver)
     for (i = 0; i < numArchivers; i++)
     for (i = 0; i < numArchivers; i++)
     {
     {
         if (__PHYSFS_utf8stricmp(archiveInfo[i]->extension, ext) == 0)
         if (__PHYSFS_utf8stricmp(archiveInfo[i]->extension, ext) == 0)
-            BAIL(PHYSFS_ERR_DUPLICATE, 0);  /* !!! FIXME: better error? ERR_IN_USE? */
+            BAIL(PHYSFS_ERR_DUPLICATE, 0);
     } /* for */
     } /* for */
 
 
     /* make a copy of the data. */
     /* make a copy of the data. */