Fix:map_binfile:Uninitialized variable
authormartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>
Tue, 8 Dec 2009 12:07:03 +0000 (12:07 +0000)
committermartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>
Tue, 8 Dec 2009 12:07:03 +0000 (12:07 +0000)
git-svn-id: https://navit.svn.sourceforge.net/svnroot/navit/trunk/navit@2856 ffa7fe5e-494d-0410-b361-a75ebd5db220

navit/map/binfile/binfile.c

index 1c860e8..38d1fed 100644 (file)
@@ -1090,7 +1090,7 @@ binmap_search_street_by_place(struct map_priv *map, struct item *town, struct co
        struct attr town_name, poly_town_name;
        struct map_rect_priv *map_rec2;
        struct item *place;
-       int found;
+       int found=0;
 
        if (!item_attr_get(town, attr_label, &town_name))
                return NULL;