1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-31 10:29:10 +00:00

(svn r20860) -Cleanup: remove some unused functions and variables

This commit is contained in:
smatz
2010-10-01 16:42:28 +00:00
parent 7f5f4950d7
commit 77fe95f552
9 changed files with 5 additions and 56 deletions

View File

@@ -29,9 +29,6 @@
#include "../../core/alloc_func.hpp"
#include "aystar.h"
static int _aystar_stats_open_size;
static int _aystar_stats_closed_size;
/* This looks in the Hash if a node exists in ClosedList
* If so, it returns the PathNode, else NULL */
static PathNode *AyStarMain_ClosedList_IsInList(AyStar *aystar, const AyStarNode *node)
@@ -257,8 +254,6 @@ int AyStarMain_Main(AyStar *aystar)
#endif
if (r != AYSTAR_STILL_BUSY) {
/* We're done, clean up */
_aystar_stats_open_size = aystar->OpenListHash.size;
_aystar_stats_closed_size = aystar->ClosedListHash.size;
aystar->clear(aystar);
}