Skip to content

Commit

Permalink
FIXME removal: This is an appropriate error code already.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Aug 5, 2017
1 parent cc2c29b commit 0d249ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/physfs.c
Expand Up @@ -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. */
Expand Down

0 comments on commit 0d249ca

Please sign in to comment.