summaryrefslogtreecommitdiff
path: root/glib/gutils.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2005-08-09 02:45:20 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2005-08-09 02:45:20 +0000
commitf3d4fb75b8e1f8acf6f6ff761887e75419329f47 (patch)
tree04168c6b8278baf0cd71daf8672965c14b19b456 /glib/gutils.c
parent6c538d33ee948300fc1e9105169547b92ecac4ae (diff)
downloadglib-f3d4fb75b8e1f8acf6f6ff761887e75419329f47.tar.gz
Initialize variables to not make gcc nervous.
2005-08-08 Matthias Clasen <mclasen@redhat.com> * glib/gutils.c (_g_compute_locale_variants): Initialize variables to not make gcc nervous.
Diffstat (limited to 'glib/gutils.c')
-rw-r--r--glib/gutils.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/glib/gutils.c b/glib/gutils.c
index 5e03a358e..6001457c3 100644
--- a/glib/gutils.c
+++ b/glib/gutils.c
@@ -2560,10 +2560,10 @@ _g_compute_locale_variants (const gchar *locale)
{
GSList *retval = NULL;
- gchar *language;
- gchar *territory;
- gchar *codeset;
- gchar *modifier;
+ gchar *language = NULL;
+ gchar *territory = NULL;
+ gchar *codeset = NULL;
+ gchar *modifier = NULL;
guint mask;
guint i;