[geocode-glib] lib: Remove dead code



commit 4b8ea0d0dd9ad99b4d48cebb570a8543c1062b98
Author: Bastien Nocera <hadess hadess net>
Date:   Sun Jan 13 20:33:50 2013 +0100

    lib: Remove dead code
    
    This code didn't do anything.

 geocode-glib/geocode-forward.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/geocode-glib/geocode-forward.c b/geocode-glib/geocode-forward.c
index 9015f8d..deaad97 100644
--- a/geocode-glib/geocode-forward.c
+++ b/geocode-glib/geocode-forward.c
@@ -677,9 +677,6 @@ make_location_list_from_tree (GNode   *node,
 
 	for (child = node->children; child != NULL; child = child->next)
 		make_location_list_from_tree (child, s_array, location_list, i);
-
-	if (add_attribute)
-		i--;
 }
 
 GList *



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