From df9e5c2435d6e57f868d75b474ef1d047fd7ee36 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sat, 24 Sep 2011 16:38:51 -0400 Subject: [PATCH] Fix an uninialized variable warning --- glib/tests/cond.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/glib/tests/cond.c b/glib/tests/cond.c index 32cbcb3..246a341 100644 --- a/glib/tests/cond.c +++ b/glib/tests/cond.c @@ -67,6 +67,8 @@ produce_values (gpointer data) gint total; gint i; + total = 0; + for (i = 1; i < 100; i++) { total += i; -- 2.7.4