From: Jean Privat Date: Mon, 27 Jun 2011 13:47:46 +0000 (-0400) Subject: gc: remove unused local variable X-Git-Tag: v0.5~44 X-Git-Url: http://nitlanguage.org gc: remove unused local variable Signed-off-by: Jean Privat --- diff --git a/clib/gc.c b/clib/gc.c index 8f65664..19f2d9e 100644 --- a/clib/gc.c +++ b/clib/gc.c @@ -80,7 +80,6 @@ static val_t GC_evacuation(obj_t object) { bigint objectSize; val_t newAdress; Nit_NativeArray array; - BOX_struct box; assert(ISOBJ(object) && !ISNULL(object)); if (GET_MARKBIT(object) != (bigint)0) { @@ -92,7 +91,6 @@ static val_t GC_evacuation(obj_t object) { array = (Nit_NativeArray)object; size = sizeof(struct Nit_NativeArray) + ((array->size - 1) * sizeof(val_t)); } else if (OBJ_IS_BOX(object)) { - box = (BOX_struct)object; size = sizeof(struct TBOX_struct); } else { objectSize = (bigint)((object)[0].vft[1].i);