From: martin-s Date: Mon, 9 May 2011 11:58:45 +0000 (+0000) Subject: Fix:map_csv:MSVC fixes X-Git-Tag: navit-0.5.0.5194svn~720 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=889f3863de699665944d0d06cded19ae9e2bdc00;p=profile%2Fivi%2Fnavit.git Fix:map_csv:MSVC fixes git-svn-id: https://navit.svn.sourceforge.net/svnroot/navit/trunk@4475 ffa7fe5e-494d-0410-b361-a75ebd5db220 --- diff --git a/navit/navit/map/csv/csv.c b/navit/navit/map/csv/csv.c index efa42f1..c94b6cf 100644 --- a/navit/navit/map/csv/csv.c +++ b/navit/navit/map/csv/csv.c @@ -309,6 +309,7 @@ csv_coord_set(void *priv_data, struct coord *c, int count, enum change_mode mode struct map_rect_priv* mr; struct map_priv* m; struct quadtree_item* qi; + GList* new_it; //for now we only support coord modification only if( ! change_mode_modify) { @@ -332,7 +333,7 @@ csv_coord_set(void *priv_data, struct coord *c, int count, enum change_mode mode transform_to_geo(projection_mg, &c[0], &cg); //if it is on the new list remove from new list and add it to the tree with the coord - GList* new_it = m->new_items; + new_it = m->new_items; while(new_it) { if(new_it->data==qi) { break;