struct path *result = NULL;
struct path *result_last;
struct path *cur, *best;
- int i;
-
+#ifdef DEBUG
+ int i = 0;
+#endif
+
link_reverse(input_list);
- // DBG("link_reverse done\n");
+ DBG("link_reverse done\n");
- i=0;
+#ifdef DEBUG
for (cur = input_list; cur; cur = cur->next)
DBG("%4i Input Path (%5.2f,%5.2f) -> (%5.2f,%5.2f)\n",
i++,
cur->plot_end_point->x,
cur->plot_end_point->y
);
+#endif
while(input_list) {
best = NULL;