summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--aircraft_cmd.c2
-rw-r--r--dedicated.c4
-rw-r--r--saveload.c2
3 files changed, 6 insertions, 2 deletions
diff --git a/aircraft_cmd.c b/aircraft_cmd.c
index 3424f9e5d..f16d4a75b 100644
--- a/aircraft_cmd.c
+++ b/aircraft_cmd.c
@@ -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)
{
diff --git a/dedicated.c b/dedicated.c
index 0c2de4a0b..079900199 100644
--- a/dedicated.c
+++ b/dedicated.c
@@ -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;
}
diff --git a/saveload.c b/saveload.c
index e9e504a5c..659a42a06 100644
--- a/saveload.c
+++ b/saveload.c
@@ -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)
{