[gnome-control-center/gnome-3-2] color: Fix warning about uninitialised variable
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center/gnome-3-2] color: Fix warning about uninitialised variable
- Date: Thu, 20 Oct 2011 15:12:49 +0000 (UTC)
commit 22eb63dd32b8087dd650610ec070387e665a2747
Author: Bastien Nocera <hadess hadess net>
Date: Thu Oct 20 15:26:51 2011 +0100
color: Fix warning about uninitialised variable
panels/color/cc-color-panel.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/panels/color/cc-color-panel.c b/panels/color/cc-color-panel.c
index 9f03118..2efebc0 100644
--- a/panels/color/cc-color-panel.c
+++ b/panels/color/cc-color-panel.c
@@ -1349,6 +1349,8 @@ gcm_prefs_get_profile_title (CcColorPanel *prefs, CdProfile *profile)
g_return_val_if_fail (profile != NULL, NULL);
+ string = NULL;
+
/* get properties */
ret = cd_profile_connect_sync (profile,
priv->cancellable,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]