From 63e0f550f53eafba33e20b6b35fa0046f4beee98 Mon Sep 17 00:00:00 2001 From: Joerg F. Wittenberger Date: Tue, 26 May 2015 16:11:59 +0200 Subject: [PATCH] silence a valgrind warning about "count" being used without initialization --- 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