[gnome-control-center/gnome-3-6] common: Quiet valgrind when checking lang codeset



commit 28bcf96598ed63a50235f4908d67a10d5c22be85
Author: Bastien Nocera <hadess hadess net>
Date:   Mon Nov 5 09:34:37 2012 +0100

    common: Quiet valgrind when checking lang codeset

 panels/common/gdm-languages.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/panels/common/gdm-languages.c b/panels/common/gdm-languages.c
index 64c72e4..e6b3343 100644
--- a/panels/common/gdm-languages.c
+++ b/panels/common/gdm-languages.c
@@ -366,7 +366,7 @@ add_locale (const char *language_name,
         GdmLocale *locale;
         GdmLocale *old_locale;
         char      *name;
-        gboolean   is_utf8;
+        gboolean   is_utf8 = FALSE;
 
         g_return_val_if_fail (language_name != NULL, FALSE);
         g_return_val_if_fail (*language_name != '\0', FALSE);



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