diff options
author | Joseph Herlant <herlantj@gmail.com> | 2018-04-29 22:03:44 -0700 |
---|---|---|
committer | Joseph Herlant <aerostitch@users.noreply.github.com> | 2018-04-30 09:05:18 -0700 |
commit | 01eb2df05b8d216206c05401d413d3d5601b333d (patch) | |
tree | ded7978516664261e4c4ee6a4ec24043e922e2bd /navit/maptool/boundaries.c | |
parent | 4231cac78eebbc761a4a356292aa79693384254f (diff) | |
download | navit-01eb2df05b8d216206c05401d413d3d5601b333d.tar.gz |
cleanup:global:Cleanup some unreachable code
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; } |