diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2022-03-10 17:16:56 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2022-03-23 15:33:17 -0300 |
commit | 06e91f1a2ebfb2d8a4ffa7285079c77ece20b6aa (patch) | |
tree | 8e2b6f64861a601a6e538cbffeff8d239ff4c245 /nscd | |
parent | 0374b487a71ad07005a816191dca829a7e6cdcae (diff) | |
download | glibc-06e91f1a2ebfb2d8a4ffa7285079c77ece20b6aa.tar.gz |
nscd: Remove unused variable
Diffstat (limited to 'nscd')
-rw-r--r-- | nscd/mem.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/nscd/mem.c b/nscd/mem.c index 4523f8221c..66aa53ea01 100644 --- a/nscd/mem.c +++ b/nscd/mem.c @@ -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. */ |