From 0daf3783cb8baaa114c02acbb9e6a241fcc39ed8 Mon Sep 17 00:00:00 2001 From: Wenji Huang Date: Mon, 1 Feb 2010 10:31:37 +0800 Subject: [PATCH] Fix uninitialization error on gcc 4.1.x * testsuite/systemtap.base/overflow-get_argv.stp: Initialize var. --- testsuite/systemtap.base/overflow-get_argv.stp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testsuite/systemtap.base/overflow-get_argv.stp b/testsuite/systemtap.base/overflow-get_argv.stp index a4d1d2124..159ef4a8e 100644 --- a/testsuite/systemtap.base/overflow-get_argv.stp +++ b/testsuite/systemtap.base/overflow-get_argv.stp @@ -23,7 +23,7 @@ function clear:string(x:long, y:long, z:string) %{ %} function check:string(x:long, y:long, z:string) %{ - int i, bad; + int i, bad = 0; for (i=1; i__retvalue[i]) ++bad; -- 2.43.5