[gnome-color-manager] Fix up a small error spotted by clang



commit 505f5ecc47ca29d797886f5cd377fd9486e5ae13
Author: Richard Hughes <richard hughsie com>
Date:   Sun Nov 22 22:30:06 2009 +0000

    Fix up a small error spotted by clang

 src/gcm-client.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gcm-client.c b/src/gcm-client.c
index d8646ee..c725d2d 100644
--- a/src/gcm-client.c
+++ b/src/gcm-client.c
@@ -606,7 +606,7 @@ static void
 gcm_client_add_unconnected_device (GcmClient *client, GKeyFile *keyfile, const gchar *id)
 {
 	gchar *title;
-	gchar *type_text;
+	gchar *type_text = NULL;
 	GcmDeviceType type;
 	GcmDevice *device = NULL;
 	gboolean ret;



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