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.
This commit is contained in:
Matthias Clasen 2005-08-09 02:45:20 +00:00 committed by Matthias Clasen
parent 6c538d33ee
commit f3d4fb75b8
5 changed files with 24 additions and 4 deletions

View File

@ -1,3 +1,8 @@
2005-08-08 Matthias Clasen <mclasen@redhat.com>
* glib/gutils.c (_g_compute_locale_variants): Initialize
variables to not make gcc nervous.
2005-08-08 Manish Singh <yosh@gimp.org>
* glib/abicheck.sh: remove stray -V option to grep so it actually

View File

@ -1,3 +1,8 @@
2005-08-08 Matthias Clasen <mclasen@redhat.com>
* glib/gutils.c (_g_compute_locale_variants): Initialize
variables to not make gcc nervous.
2005-08-08 Manish Singh <yosh@gimp.org>
* glib/abicheck.sh: remove stray -V option to grep so it actually

View File

@ -1,3 +1,8 @@
2005-08-08 Matthias Clasen <mclasen@redhat.com>
* glib/gutils.c (_g_compute_locale_variants): Initialize
variables to not make gcc nervous.
2005-08-08 Manish Singh <yosh@gimp.org>
* glib/abicheck.sh: remove stray -V option to grep so it actually

View File

@ -1,3 +1,8 @@
2005-08-08 Matthias Clasen <mclasen@redhat.com>
* glib/gutils.c (_g_compute_locale_variants): Initialize
variables to not make gcc nervous.
2005-08-08 Manish Singh <yosh@gimp.org>
* glib/abicheck.sh: remove stray -V option to grep so it actually

View File

@ -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;