pathfind: Delete write-only variable in path_find_visualize()
A useless variable crept into commit 2fc9dfc52
"New
path_find_visualize(), to aid debugging" (v4.3.27). Delete it.
Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
This commit is contained in:
parent
dc793ea0a1
commit
b770ac4ba8
1 changed files with 1 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue