[glib: 5/8] Fix non-initialized variable in gio/tests/date.c




commit 19280e2166d806c16dce11c65daac85d15aceee0
Author: Loic Le Page <llepage fluendo com>
Date:   Wed Jan 19 18:58:39 2022 +0100

    Fix non-initialized variable in gio/tests/date.c

 glib/tests/date.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/glib/tests/date.c b/glib/tests/date.c
index 8903b8f0ce..fa441a1501 100644
--- a/glib/tests/date.c
+++ b/glib/tests/date.c
@@ -1384,7 +1384,7 @@ test_year (gconstpointer t)
   GDateYear y = GPOINTER_TO_INT (t);
   GDateMonth m;
   GDateDay day;
-  guint32 j;
+  guint32 j = 0;
   GDate *d;
   gint i;
   GDate tmp;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]