Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fixed some compiler warnings.
  • Loading branch information
icculus committed Nov 28, 2018
1 parent 5786a58 commit b57d896
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/physfs.c
Expand Up @@ -88,7 +88,7 @@ static int allowSymLinks = 0;
static PHYSFS_Archiver **archivers = NULL;
static PHYSFS_ArchiveInfo **archiveInfo = NULL;
static volatile size_t numArchivers = 0;
static int longest_root = 0;
static size_t longest_root = 0;

/* mutexes ... */
static void *errorLock = NULL; /* protects error message list. */
Expand Down Expand Up @@ -2230,7 +2230,6 @@ int PHYSFS_mkdir(const char *_dname)
/* This must hold the stateLock before calling. */
static int doDelete(const char *_fname, char *fname)
{
int retval;
DirHandle *h = writeDir;
BAIL_IF_ERRPASS(!sanitizePlatformIndependentPathWithRoot(h, _fname, fname), 0);
BAIL_IF_ERRPASS(!verifyPath(h, &fname, 0), 0);
Expand Down

0 comments on commit b57d896

Please sign in to comment.