[gnome-color-manager/gnome-2-32] trivial: fix an error path return value pointed out by clang
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-color-manager/gnome-2-32] trivial: fix an error path return value pointed out by clang
- Date: Tue, 31 Aug 2010 11:46:42 +0000 (UTC)
commit c901c0b085f0ead5a6926574fe8e702ba466ca02
Author: Richard Hughes <richard hughsie com>
Date: Tue Aug 31 12:46:15 2010 +0100
trivial: fix an error path return value pointed out by clang
src/gcm-fix-profile.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gcm-fix-profile.c b/src/gcm-fix-profile.c
index 5820136..8ef2e14 100644
--- a/src/gcm-fix-profile.c
+++ b/src/gcm-fix-profile.c
@@ -34,7 +34,7 @@ static gboolean
gcm_fix_profile_filename (const gchar *filename, const gchar *description, const gchar *copyright, const gchar *model, const gchar *manufacturer)
{
gboolean ret = TRUE;
- cmsHPROFILE lcms_profile;
+ cmsHPROFILE lcms_profile = NULL;
gchar *data = NULL;
gsize len;
GError *error = NULL;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]