From 1a0d7598f0cc35d107599fa577c22c92e2453c1f Mon Sep 17 00:00:00 2001 From: Stas Boukarev Date: Sat, 31 Aug 2013 03:36:19 +0400 Subject: [PATCH] Remove a couple of unused variables in the C runtime. --- src/runtime/gc-common.c | 2 -- src/runtime/gencgc.c | 1 - 2 files changed, 3 deletions(-) diff --git a/src/runtime/gc-common.c b/src/runtime/gc-common.c index 227021b..9dfc18f 100644 --- a/src/runtime/gc-common.c +++ b/src/runtime/gc-common.c @@ -1695,7 +1695,6 @@ sword_t scav_vector (lispobj *where, lispobj object) { uword_t kv_length; - lispobj *kv_vector; struct hash_table *hash_table; /* SB-VM:VECTOR-VALID-HASHING-SUBTYPE is set for EQ-based and weak @@ -1705,7 +1704,6 @@ scav_vector (lispobj *where, lispobj object) return 1; kv_length = fixnum_value(where[1]); - kv_vector = where + 2; /* Skip the header and length. */ /*FSHOW((stderr,"/kv_length = %d\n", kv_length));*/ /* Scavenge element 0, which may be a hash-table structure. */ diff --git a/src/runtime/gencgc.c b/src/runtime/gencgc.c index fce1824..fbaaa9e 100644 --- a/src/runtime/gencgc.c +++ b/src/runtime/gencgc.c @@ -3195,7 +3195,6 @@ verify_generation(generation_index_t generation) && (page_table[i].bytes_used != 0) && (page_table[i].gen == generation)) { page_index_t last_page; - int region_allocation = page_table[i].allocated; /* This should be the start of a contiguous block */ gc_assert(page_starts_contiguous_block_p(i)); -- 1.7.10.4