(svn r5896) Remove pointless indirection similar to r5894 and remove an unnecessary global variable

This commit is contained in:
tron
2006-08-14 21:02:48 +00:00
parent c16d77874e
commit 68c2a77910
4 changed files with 28 additions and 42 deletions

View File

@@ -246,7 +246,6 @@ static void ParseResolution(int res[2], const char *s)
static void InitializeDynamicVariables(void)
{
/* Dynamic stuff needs to be initialized somewhere... */
_station_sort = NULL;
_town_sort = NULL;
_industry_sort = NULL;
}
@@ -261,7 +260,6 @@ static void UnInitializeDynamicVariables(void)
CleanPool(&_sign_pool);
CleanPool(&_order_pool);
free(_station_sort);
free(_town_sort);
free(_industry_sort);
}