(svn r2118) - Fix: Fix compilation with network disabled, and comment out some of the warnings (unused function)

replace/41b28d7194a279bdc17475d4fbe2ea6ec885a466
Darkvater 19 years ago
parent 043ac73b19
commit 35ff9d850c

@ -65,6 +65,7 @@ static uint16 FindNearestHangar(const Vehicle *v)
return index;
}
#if 0
// returns true if vehicle v have an airport in the schedule, that has a hangar
static bool HaveHangarInOrderList(Vehicle *v)
{
@ -82,6 +83,7 @@ static bool HaveHangarInOrderList(Vehicle *v)
return false;
}
#endif
int GetAircraftImage(Vehicle *v, byte direction)
{

@ -327,9 +327,9 @@ const HalVideoDriver _dedicated_video_driver = {
static void *_dedicated_video_mem;
static const char *DedicatedVideoStart(const char **parm)
static const char *DedicatedVideoStart(const char * const *parm)
{
DEBUG(misc,0)("OpenTTD compiled without network-support, quiting...");
DEBUG(misc, 0) ("OpenTTD compiled without network-support, exiting...");
return NULL;
}

@ -241,6 +241,7 @@ static void SlCopyBytes(void *ptr, size_t length)
}
}
#if 0
static void SlSkipBytes(size_t length)
{
while (length) {
@ -248,6 +249,7 @@ static void SlSkipBytes(size_t length)
length--;
}
}
#endif
uint SlGetFieldLength(void)
{

Loading…
Cancel
Save