[tracker/harmattan-pre-signal-updates: 1243/1380] libtracker-data: Don't shadow variable i here



commit 4a35a69fdebf3b86ba58623aa571f34e7fe5fdee
Author: Philip Van Hoof <philip codeminded be>
Date:   Fri Sep 3 16:02:07 2010 +0200

    libtracker-data: Don't shadow variable i here

 src/libtracker-data/tracker-data-update.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/libtracker-data/tracker-data-update.c b/src/libtracker-data/tracker-data-update.c
index 606a9bd..5046d2c 100644
--- a/src/libtracker-data/tracker-data-update.c
+++ b/src/libtracker-data/tracker-data-update.c
@@ -1624,7 +1624,7 @@ cache_delete_resource_type (TrackerClass *class,
 		const gchar        *table_name;
 		const gchar        *field_name;
 		GValueArray        *old_values;
-		gint                i;
+		gint                y;
 
 		prop = properties[p];
 
@@ -1638,11 +1638,11 @@ cache_delete_resource_type (TrackerClass *class,
 
 		old_values = get_old_property_values (prop, NULL);
 
-		for (i = old_values->n_values - 1; i >= 0 ; i--) {
+		for (y = old_values->n_values - 1; y >= 0 ; y--) {
 			GValue *old_gvalue;
 			GValue  gvalue = { 0 };
 
-			old_gvalue = g_value_array_get_nth (old_values, i);
+			old_gvalue = g_value_array_get_nth (old_values, y);
 			g_value_init (&gvalue, G_VALUE_TYPE (old_gvalue));
 			g_value_copy (old_gvalue, &gvalue);
 



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