Fix:maptool:Avoid side effects of way2poi patch
authormartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>
Tue, 5 Jul 2011 20:30:34 +0000 (20:30 +0000)
committermartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>
Tue, 5 Jul 2011 20:30:34 +0000 (20:30 +0000)
git-svn-id: https://navit.svn.sourceforge.net/svnroot/navit/trunk@4587 ffa7fe5e-494d-0410-b361-a75ebd5db220

navit/navit/maptool/maptool.c

index ce68092..f918d17 100644 (file)
@@ -51,6 +51,7 @@ GHashTable *dedupe_ways_hash;
 int phase;
 int slices;
 int unknown_country;
+int doway2poi;
 
 struct buffer node_buffer = {
        64*1024*1024,
@@ -160,7 +161,6 @@ int main(int argc, char **argv)
        int input=0;
        int protobuf=0;
        int o5m=0;
-       int doway2poi=0;
        int f,pos;
        char *result,*optarg_cp,*attr_name,*attr_value;
        char *protobufdb=NULL,*protobufdb_operation=NULL,*md5file=NULL;