nscd: Remove unused variable

This commit is contained in:
Adhemerval Zanella 2022-03-10 17:16:56 -03:00
parent 0374b487a7
commit 06e91f1a2e

View File

@ -218,12 +218,8 @@ gc (struct database_dyn *db)
/* Determine the highest offset. */
BITMAP_T mask = HIGHBIT;
ref_t highref = (high * BITS - 1) * BLOCK_ALIGN;
while ((mark[high - 1] & mask) == 0)
{
mask >>= 1;
highref -= BLOCK_ALIGN;
}
mask >>= 1;
/* Now we can iterate over the MARK array and find bits which are not
set. These represent memory which can be recovered. */