[gnome-control-center] color: Fix warning about uninitialised variable
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] color: Fix warning about uninitialised variable
- Date: Thu, 20 Oct 2011 15:10:59 +0000 (UTC)
commit 0bc99bdda3c0825dd6f048ffc2c529df52007fe9
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 d4d0a36..8186651 100644
--- a/panels/color/cc-color-panel.c
+++ b/panels/color/cc-color-panel.c
@@ -1419,6 +1419,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]