mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-08 10:14:04 +02:00
gdatetime: Quiet GCC warning about possibly-uninitialized
This commit is contained in:
@@ -2318,10 +2318,10 @@ g_date_time_format (GDateTime *datetime,
|
|||||||
GString *outstr;
|
GString *outstr;
|
||||||
gchar *tmp;
|
gchar *tmp;
|
||||||
gunichar c;
|
gunichar c;
|
||||||
gboolean in_mod;
|
gboolean in_mod = FALSE;
|
||||||
gboolean alt_digits;
|
gboolean alt_digits = FALSE;
|
||||||
gboolean pad_set;
|
gboolean pad_set = FALSE;
|
||||||
gchar pad;
|
gchar pad = '\0';
|
||||||
gchar fmt[20];
|
gchar fmt[20];
|
||||||
|
|
||||||
g_return_val_if_fail (datetime != NULL, NULL);
|
g_return_val_if_fail (datetime != NULL, NULL);
|
||||||
|
Reference in New Issue
Block a user