Remove a couple of unused variables in the C runtime.
authorStas Boukarev <stassats@gmail.com>
Fri, 30 Aug 2013 23:36:19 +0000 (03:36 +0400)
committerStas Boukarev <stassats@gmail.com>
Fri, 30 Aug 2013 23:36:19 +0000 (03:36 +0400)
src/runtime/gc-common.c
src/runtime/gencgc.c

index 227021b..9dfc18f 100644 (file)
@@ -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. */
index fce1824..fbaaa9e 100644 (file)
@@ -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));