[gnome-color-manager] trivial: remove two dead assignments spotted by clang



commit 5c2e34a22624983ef079f74542e5dd694959a5bf
Author: Richard Hughes <richard hughsie com>
Date:   Wed Jan 27 19:54:57 2010 +0000

    trivial: remove two dead assignments spotted by clang

 src/gcm-calibrate-argyll.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/src/gcm-calibrate-argyll.c b/src/gcm-calibrate-argyll.c
index a88f1a5..012b5d0 100644
--- a/src/gcm-calibrate-argyll.c
+++ b/src/gcm-calibrate-argyll.c
@@ -171,7 +171,6 @@ gcm_calibrate_argyll_get_display (const gchar *output_name, GError **error)
 	split = g_strsplit (data, "\n", -1);
 	for (i=0; split[i] != NULL; i++) {
 		if (g_strstr_len (split[i], -1, "XRandR 1.2 is faulty") != NULL) {
-			ret = FALSE;
 			g_set_error_literal (error, 1, 0, "failed to match display as RandR is faulty");
 			goto out;
 		}
@@ -186,7 +185,6 @@ gcm_calibrate_argyll_get_display (const gchar *output_name, GError **error)
 
 	/* nothing found */
 	if (display == G_MAXUINT) {
-		ret = FALSE;
 		g_set_error_literal (error, 1, 0, "failed to match display");
 		goto out;
 	}



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