[gnome-color-manager] Remove some dead code spotted by clang



commit e854d990295a9cbafcaeabd1b9d780ffd53b0459
Author: Richard Hughes <richard hughsie com>
Date:   Mon Nov 2 12:36:34 2009 +0000

    Remove some dead code spotted by clang

 src/gcm-calibrate.c |    8 --------
 1 files changed, 0 insertions(+), 8 deletions(-)
---
diff --git a/src/gcm-calibrate.c b/src/gcm-calibrate.c
index b2b3963..971e8c0 100644
--- a/src/gcm-calibrate.c
+++ b/src/gcm-calibrate.c
@@ -378,13 +378,9 @@ gcm_calibrate_task_generate_patches (GcmCalibrate *calibrate, GError **error)
 {
 	gboolean ret = TRUE;
 	GcmCalibratePrivate *priv = calibrate->priv;
-	gchar type;
 	gchar **argv = NULL;
 	GPtrArray *array = NULL;
 
-	/* get l-cd or c-rt */
-	type = gcm_calibrate_get_display_type (calibrate);
-
 	/* argument array */
 	array = g_ptr_array_new_with_free_func (g_free);
 
@@ -498,7 +494,6 @@ gcm_calibrate_task_generate_profile (GcmCalibrate *calibrate, GError **error)
 {
 	gboolean ret = TRUE;
 	GcmCalibratePrivate *priv = calibrate->priv;
-	gchar type;
 	gchar **argv = NULL;
 	GDate *date;
 	gchar *manufacturer = NULL;
@@ -508,9 +503,6 @@ gcm_calibrate_task_generate_profile (GcmCalibrate *calibrate, GError **error)
 	gchar *copyright = NULL;
 	GPtrArray *array = NULL;
 
-	/* get l-cd or c-rt */
-	type = gcm_calibrate_get_display_type (calibrate);
-
 	/* create date and set it to now */
 	date = g_date_new ();
 	g_date_set_time_t (date, time (NULL));



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