diff options
author | jandegr <jandegr@users.noreply.github.com> | 2018-05-02 10:02:46 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-02 10:02:46 +0200 |
commit | de4680665398c523dfaa0879c18b0f6e39264d57 (patch) | |
tree | 5769f2076e6e041c07ad7fd6fa052ae0b8e5b914 /navit/maptool/boundaries.c | |
parent | 53315091a2aa5a4469a743f29516cc1ae78b6b14 (diff) | |
parent | a9f61c26e31eca52b1bf1a444f6283bb26bc2391 (diff) | |
download | navit-de4680665398c523dfaa0879c18b0f6e39264d57.tar.gz |
Merge branch 'trunk' into Android_gradleAndroid_gradle
Diffstat (limited to 'navit/maptool/boundaries.c')
-rw-r--r-- | navit/maptool/boundaries.c | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/navit/maptool/boundaries.c b/navit/maptool/boundaries.c index 605b6fb7b..75e1d2479 100644 --- a/navit/maptool/boundaries.c +++ b/navit/maptool/boundaries.c @@ -308,37 +308,6 @@ process_boundaries_finish(GList *boundaries_list) } } -#if 0 - printf("hierarchy\n"); -#endif -#if 0 - boundaries_list=g_list_sort(boundaries_list, boundary_bbox_compare); - l=boundaries_list; - while (l) { - struct boundary *boundary=l->data; - GList *l2,*ln; - ln=l2=g_list_next(l); - while (l2) { - struct boundary *boundary2=l2->data; - if (bbox_contains_bbox(&boundary2->r, &boundary->r)) { - boundaries_list=g_list_remove(boundaries_list, boundary); - boundary2->children=g_list_append(boundary2->children, boundary); -#if 0 - printf("found\n"); -#endif - break; - } - l2=g_list_next(l2); - } - l=ln; - } - dump_hierarchy(boundaries_list,""); -#if 0 - printf("hierarchy done\n"); - printf("test\n"); - test(boundaries_list); -#endif -#endif return ret; } |