From c026cf56a178ef786b8a372d4c1cd01e2ab2a3c9 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Wed, 11 May 2011 13:19:05 -0400 Subject: [PATCH] gdatetime: Quiet GCC warning about possibly-uninitialized --- glib/gdatetime.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/glib/gdatetime.c b/glib/gdatetime.c index ead4d30..52a73c7 100644 --- a/glib/gdatetime.c +++ b/glib/gdatetime.c @@ -2318,10 +2318,10 @@ g_date_time_format (GDateTime *datetime, GString *outstr; gchar *tmp; gunichar c; - gboolean in_mod; - gboolean alt_digits; - gboolean pad_set; - gchar pad; + gboolean in_mod = FALSE; + gboolean alt_digits = FALSE; + gboolean pad_set = FALSE; + gchar pad = '\0'; gchar fmt[20]; g_return_val_if_fail (datetime != NULL, NULL); -- 2.7.4