Fix:Tools:Fixed segfault in osm2navit
authormartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>
Fri, 5 Sep 2008 08:13:26 +0000 (08:13 +0000)
committermartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>
Fri, 5 Sep 2008 08:13:26 +0000 (08:13 +0000)
git-svn-id: https://navit.svn.sourceforge.net/svnroot/navit/trunk@1372 ffa7fe5e-494d-0410-b361-a75ebd5db220

navit/navit/osm2navit.c

index e9490e1..2cfb813 100644 (file)
@@ -2646,7 +2646,7 @@ int main(int argc, char **argv)
        FILE* input_file = stdin;
        struct plugins *plugins=NULL;
        struct attr **attrs;
-       struct map *map_handle;
+       struct map *map_handle=NULL;
 
        while (1) {
 #if 0