Skip to content
Permalink
Browse files
Fixed compiler warning about unused variable because assert() is awful.
  • Loading branch information
icculus committed Jul 3, 2015
1 parent 1ab2afd commit 57bbcc3eb360cc8b43800c29d622a3712284f585
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/physfs.c
@@ -1273,8 +1273,8 @@ static void freeArchivers(void)
{
while (numArchivers > 0)
{
const int rc = doDeregisterArchiver(numArchivers - 1);
assert(rc); /* nothing should be mounted during shutdown. */
if (!doDeregisterArchiver(numArchivers - 1))
assert(!"nothing should be mounted during shutdown.");
} /* while */

allocator.Free(archivers);

0 comments on commit 57bbcc3

Please sign in to comment.