diff options
author | horwitz <horwitz@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2010-03-23 07:55:10 +0000 |
---|---|---|
committer | horwitz <horwitz@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2010-03-23 07:55:10 +0000 |
commit | 48f0e77be7471025af90a0cbd4e09864ee287098 (patch) | |
tree | 9e959256cbaef280d16b69e7df25cdb8fadaff25 | |
parent | bec11b3d2ad313612175e8fbec992f6ef54e8a83 (diff) | |
download | navit-svn-48f0e77be7471025af90a0cbd4e09864ee287098.tar.gz |
Fix:core:Fix coverity bug #40. Disabled dead code.
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit/navit@3071 ffa7fe5e-494d-0410-b361-a75ebd5db220
-rw-r--r-- | route.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1618,13 +1618,14 @@ route_process_turn_restriction(struct route_graph *this, struct item *item) dbg(1,"%s: (0x%x,0x%x)-(0x%x,0x%x)-(0x%x,0x%x) %p-%p-%p\n",item_to_name(item->type),c[0].x,c[0].y,c[1].x,c[1].y,c[2].x,c[2].y,pnt[0],pnt[1],pnt[2]); route_graph_add_segment(this, pnt[0], pnt[1], 0, item, 0, 0, 0); route_graph_add_segment(this, pnt[1], pnt[2], 0, item, 0, 0, 0); +#if 0 if (count == 4) { pnt[1]->flags |= RP_TURN_RESTRICTION; pnt[2]->flags |= RP_TURN_RESTRICTION; route_graph_add_segment(this, pnt[2], pnt[3], 0, item, 0, 0, 0); } else pnt[1]->flags |= RP_TURN_RESTRICTION; - +#endif } /** |