FIXME removal: This is an appropriate error code already.
This commit is contained in:
parent
cc2c29b207
commit
0d249cae36
|
@ -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. */
|
||||
|
|
Loading…
Reference in New Issue