[gnome-color-manager] trivial: fix a warning reported by clang



commit be0a2c5d69b223566b9200a771dada9cf80467e4
Author: Richard Hughes <richard hughsie com>
Date:   Thu Apr 28 11:53:40 2011 +0100

    trivial: fix a warning reported by clang

 src/gcm-session.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/src/gcm-session.c b/src/gcm-session.c
index 646a8dd..c424bc2 100644
--- a/src/gcm-session.c
+++ b/src/gcm-session.c
@@ -1245,7 +1245,6 @@ gcm_session_get_md5_for_filename (const gchar *filename,
 	/* get the internal profile id, if it exists */
 	lcms_profile = cmsOpenProfileFromFile (filename, "r");
 	if (lcms_profile == NULL) {
-		ret = FALSE;
 		g_set_error_literal (error, 1, 0,
 				     "failed to load: not an ICC profile");
 		goto out;



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