[gnome-control-center] media: GCC 4.6 warning fixes



commit 849b752cff37234be217039d48258460caced5f1
Author: Kjartan Maraas <kmaraas gnome org>
Date:   Wed Mar 2 18:08:33 2011 +0000

    media: GCC 4.6 warning fixes
    
    https://bugzilla.gnome.org/show_bug.cgi?id=642810

 panels/media/cc-media-panel.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/panels/media/cc-media-panel.c b/panels/media/cc-media-panel.c
index f2bafd0..8c3cc3a 100644
--- a/panels/media/cc-media-panel.c
+++ b/panels/media/cc-media-panel.c
@@ -488,7 +488,7 @@ media_panel_setup (CcMediaPanel *self)
 
   for (l = content_types; l != NULL; l = l->next) {
     char *content_type = l->data;
-    char *description;
+    char *description = NULL;
     GIcon *icon;
 
     if (!g_str_has_prefix (content_type, "x-content/"))



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