Attached a small patch against origin/master. It's just to silence a valgrind warning.
More important: I'd like to eventually learn how to get this right using git. (I actually checked this into git. But in the origin/master branch - fully aware that this would not be the right thing to do if I was to push my changes. However I expect myself at least to accidentally check things into the wrong branch and need to learn how to fix the mess.) Best /Jörg
From 3e86e9675c4141ac9a4082b3cfa29e44eec22a34 Mon Sep 17 00:00:00 2001 Message-Id: <3e86e9675c4141ac9a4082b3cfa29e44eec22a34.1431692147.git.u@utilite.localdomain> From: Benutzer <u@utilite.localdomain> 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
_______________________________________________ Chicken-hackers mailing list Chicken-hackers@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-hackers