diff options
author | Ivan Maidanski <ivmai@mail.ru> | 2018-06-19 00:50:07 +0300 |
---|---|---|
committer | Ivan Maidanski <ivmai@mail.ru> | 2018-06-19 00:51:09 +0300 |
commit | 24c2987d73ba0c3b5ae762e59238628785770c13 (patch) | |
tree | 6bd8ae0e77b94bebe25eb3b4b44a30276c50c1ca /reclaim.c | |
parent | b1224990db6bf4b51b42e804ec6fff6ba730e9fb (diff) | |
download | bdwgc-24c2987d73ba0c3b5ae762e59238628785770c13.tar.gz |
Remove duplicate local variable in reclaim_block
(fix of commit 6c1a92445)
* reclaim.c [ENABLE_DISCLAIM] (GC_reclaim_block): Remove duplicate ok
local variable definition (which hides the one in the outermost block
and has the same value).
Diffstat (limited to 'reclaim.c')
-rw-r--r-- | reclaim.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -399,7 +399,6 @@ STATIC void GC_reclaim_block(struct hblk *hbp, word report_if_found) # ifdef ENABLE_DISCLAIM if (EXPECT(hhdr->hb_flags & HAS_DISCLAIM, 0)) { - struct obj_kind *ok = &GC_obj_kinds[hhdr->hb_obj_kind]; if ((*ok->ok_disclaim_proc)(hbp)) { /* Not disclaimed => resurrect the object. */ set_mark_bit_from_hdr(hhdr, 0); |