From 5606e6d7b659ae18908f0dc46d3fd2ef3e4e7d42 Mon Sep 17 00:00:00 2001 From: belugas Date: Fri, 14 Jul 2006 17:54:04 +0000 Subject: (svn r5496) -CodeChange: Removed two compiler warnings - add newline at end of file in currency.c - remove unused (for now) CargosChangeInfo --- newgrf.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'newgrf.c') 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, }; -- cgit v1.2.3-70-g09d2