]> git.pond.sub.org Git - empserver/blobdiff - src/lib/common/pathfind.c
pathfind: Delete write-only variable in path_find_visualize()
[empserver] / src / lib / common / pathfind.c
index 33127b79397a2b81337bb14a4317bd9f09625395..4b3b75c94b0183f9987efcd87f426a6d592656b9 100644 (file)
@@ -490,12 +490,11 @@ path_find_visualize(coord sx, coord sy, coord dx, coord dy)
 {
     int uid;
     int xmin, xmax, ymin, ymax, x, y, odd, ch;
-    double c, u, cost;
+    double c, cost;
     char buf[1024];
 
     assert(pf_cost(XYOFFSET(sx, sy)) == 0.0);
     c = pf_cost(XYOFFSET(dx, dy));
-    u = c / 10.0;
 
     /* find bounding box */
     xmin = xmax = 0;