]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
DARWIN sync wibble.
authorNicholas Nethercote <njn@valgrind.org>
Tue, 19 May 2009 02:08:25 +0000 (02:08 +0000)
committerNicholas Nethercote <njn@valgrind.org>
Tue, 19 May 2009 02:08:25 +0000 (02:08 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9926

memcheck/mc_leakcheck.c

index a10a84242712c57c28962862fb5eb31fdbd1d9a4..6f642feb9295f9f5239452bb89eb9f77ba21552a 100644 (file)
@@ -704,7 +704,7 @@ lc_scan_memory(Addr start, SizeT len, Bool is_prior_definite, Int clique)
 // Process the mark stack until empty.
 static void lc_process_markstack(Int clique)
 {
-   Int  top;
+   Int  top = -1;    // shut gcc up
    Bool is_prior_definite;
 
    while (lc_pop(&top)) {