Mercurial > hg > openttd
changeset 4138:a19cc0a1e620 draft
(svn r5496) -CodeChange: Removed two compiler warnings
- add newline at end of file in currency.c
- remove unused (for now) CargosChangeInfo
author | belugas <belugas@openttd.org> |
---|---|
date | Fri, 14 Jul 2006 17:54:04 +0000 |
parents | c45859e8284f |
children | c9a5034f6ad5 |
files | currency.c newgrf.c |
diffstat | 2 files changed, 2 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/currency.c +++ b/currency.c @@ -98,3 +98,4 @@ AddNewsItem(STR_EURO_INTRODUCE, NEWS_FLAGS(NM_NORMAL, 0, NT_ECONOMY, 0), 0, 0); } } +
--- a/newgrf.c +++ b/newgrf.c @@ -1067,11 +1067,6 @@ 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 @@ /* GSF_GLOBALVAR */ GlobalVarChangeInfo, /* GSF_INDUSTRYTILES */NULL, /* GSF_INDUSTRIES */ NULL, - /* GSF_CARGOS */ CargosChangeInfo, + /* GSF_CARGOS */ NULL, /* GSF_SOUNDFX */ NULL, };