summaryrefslogtreecommitdiff
path: root/newgrf.c
diff options
context:
space:
mode:
authorbelugas <belugas@openttd.org>2006-07-14 17:54:04 +0000
committerbelugas <belugas@openttd.org>2006-07-14 17:54:04 +0000
commitfce9f5b054f615911d03423cccf769678ecdf468 (patch)
tree2c4b9b99711163011e6f2a1f0c75d7a4d8dc7be1 /newgrf.c
parente8e1fae2a2e09997c3965cb815d441ac7b73aeb7 (diff)
downloadopenttd-fce9f5b054f615911d03423cccf769678ecdf468.tar.xz
(svn r5496) -CodeChange: Removed two compiler warnings
- add newline at end of file in currency.c - remove unused (for now) CargosChangeInfo
Diffstat (limited to 'newgrf.c')
-rw-r--r--newgrf.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/newgrf.c b/newgrf.c
index e72c5929e..b1cd9a20c 100644
--- a/newgrf.c
+++ b/newgrf.c
@@ -1067,11 +1067,6 @@ static bool BridgeChangeInfo(uint brid, int numinfo, int prop, byte **bufp, int
return ret;
}
-static bool CargosChangeInfo(uint gvid, int numinfo, int prop, byte **bufp, int len)
-{
- return false;
-}
-
static bool GlobalVarChangeInfo(uint gvid, int numinfo, int prop, byte **bufp, int len)
{
byte *buf = *bufp;
@@ -1131,7 +1126,7 @@ static void FeatureChangeInfo(byte *buf, int len)
/* GSF_GLOBALVAR */ GlobalVarChangeInfo,
/* GSF_INDUSTRYTILES */NULL,
/* GSF_INDUSTRIES */ NULL,
- /* GSF_CARGOS */ CargosChangeInfo,
+ /* GSF_CARGOS */ NULL,
/* GSF_SOUNDFX */ NULL,
};