Fixed compiler warning about unused variable because assert() is awful.
This commit is contained in:
parent
1ab2afda15
commit
57bbcc3eb3
|
@ -1273,8 +1273,8 @@ static void freeArchivers(void)
|
||||||
{
|
{
|
||||||
while (numArchivers > 0)
|
while (numArchivers > 0)
|
||||||
{
|
{
|
||||||
const int rc = doDeregisterArchiver(numArchivers - 1);
|
if (!doDeregisterArchiver(numArchivers - 1))
|
||||||
assert(rc); /* nothing should be mounted during shutdown. */
|
assert(!"nothing should be mounted during shutdown.");
|
||||||
} /* while */
|
} /* while */
|
||||||
|
|
||||||
allocator.Free(archivers);
|
allocator.Free(archivers);
|
||||||
|
|
Loading…
Reference in New Issue