FIXME removal: This is an appropriate error code already.

This commit is contained in:
Ryan C. Gordon 2017-08-04 22:32:34 -04:00
parent cc2c29b207
commit 0d249cae36
1 changed files with 1 additions and 1 deletions

View File

@ -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. */