[glib] Fix an uninialized variable warning
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] Fix an uninialized variable warning
- Date: Sat, 24 Sep 2011 23:01:39 +0000 (UTC)
commit df9e5c2435d6e57f868d75b474ef1d047fd7ee36
Author: Matthias Clasen <mclasen redhat com>
Date: Sat Sep 24 16:38:51 2011 -0400
Fix an uninialized variable warning
glib/tests/cond.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]