mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-11 13:10:45 +00:00
(svn r5496) -CodeChange: Removed two compiler warnings
- add newline at end of file in currency.c - remove unused (for now) CargosChangeInfo
This commit is contained in:
parent
5137591102
commit
5606e6d7b6
@ -98,3 +98,4 @@ void CheckSwitchToEuro(void)
|
|||||||
AddNewsItem(STR_EURO_INTRODUCE, NEWS_FLAGS(NM_NORMAL, 0, NT_ECONOMY, 0), 0, 0);
|
AddNewsItem(STR_EURO_INTRODUCE, NEWS_FLAGS(NM_NORMAL, 0, NT_ECONOMY, 0), 0, 0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
7
newgrf.c
7
newgrf.c
@ -1067,11 +1067,6 @@ static bool BridgeChangeInfo(uint brid, int numinfo, int prop, byte **bufp, int
|
|||||||
return ret;
|
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)
|
static bool GlobalVarChangeInfo(uint gvid, int numinfo, int prop, byte **bufp, int len)
|
||||||
{
|
{
|
||||||
byte *buf = *bufp;
|
byte *buf = *bufp;
|
||||||
@ -1131,7 +1126,7 @@ static void FeatureChangeInfo(byte *buf, int len)
|
|||||||
/* GSF_GLOBALVAR */ GlobalVarChangeInfo,
|
/* GSF_GLOBALVAR */ GlobalVarChangeInfo,
|
||||||
/* GSF_INDUSTRYTILES */NULL,
|
/* GSF_INDUSTRYTILES */NULL,
|
||||||
/* GSF_INDUSTRIES */ NULL,
|
/* GSF_INDUSTRIES */ NULL,
|
||||||
/* GSF_CARGOS */ CargosChangeInfo,
|
/* GSF_CARGOS */ NULL,
|
||||||
/* GSF_SOUNDFX */ NULL,
|
/* GSF_SOUNDFX */ NULL,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user