~ chicken-core (chicken-5) 08f07fd2fc16cb81587cf4b84f56e3b58fb05e35
commit 08f07fd2fc16cb81587cf4b84f56e3b58fb05e35
Author: Peter Bex <peter@more-magic.net>
AuthorDate: Sat May 30 16:52:02 2015 +0200
Commit: Peter Bex <peter@more-magic.net>
CommitDate: Sat May 30 16:52:02 2015 +0200
silence a valgrind warning about "count" being used without initialization
Signed-off-by: Peter Bex <peter@more-magic.net>
diff --git a/runtime.c b/runtime.c
index 96cef6ab..841c5bc4 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;
}
Trap