Skip to content
Permalink
Browse files
FIXME removal: This is an appropriate error code already.
  • Loading branch information
icculus committed Aug 5, 2017
1 parent cc2c29b commit 0d249cae369a70f9420b54f09c4916a3e673866a
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/physfs.c
@@ -1431,7 +1431,7 @@ static int doRegisterArchiver(const PHYSFS_Archiver *_archiver)
for (i = 0; i < numArchivers; i++)
{
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 */

/* make a copy of the data. */

0 comments on commit 0d249ca

Please sign in to comment.