From 3e86e9675c4141ac9a4082b3cfa29e44eec22a34 Mon Sep 17 00:00:00 2001 Message-Id:
From: Benutzer Date: Fri, 15 May 2015 14:15:09 +0200 Subject: [PATCH] avoid valgrind warning about use of uninitialized variable "cont" --- runtime.c | 1 + 1 file changed, 1 insertion(+) diff --git a/runtime.c b/runtime.c index fb5d56c..adc464d 100644 --- a/runtime.c +++ b/runtime.c @@ -2782,6 +2782,7 @@ C_regparm void C_fcall C_reclaim(void *trampoline, void *proc) if(gc_mode == GC_REALLOC) { C_rereclaim2(percentage(heap_size, C_heap_growth), 0); gc_mode = GC_MAJOR; + count = (C_uword)tospace_top - (C_uword)tospace_start; goto i_like_spaghetti; } -- 2.1.4