Mercurial > hg > openttd
changeset 9122:9fd8b3f53ad6 draft
(svn r12982) -Fix: compiler warning when compiling without asserts
author | smatz <smatz@openttd.org> |
---|---|
date | Tue, 06 May 2008 23:45:25 +0000 |
parents | ede5d73e607e |
children | 2e31b0269aec |
files | src/newgrf_engine.cpp |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/newgrf_engine.cpp +++ b/src/newgrf_engine.cpp @@ -886,7 +886,10 @@ SpriteID GetRotorOverrideSprite(EngineID engine, const Vehicle *v, bool info_view) { + #if !defined(NDEBUG) || defined(WITH_ASSERT) const Engine *e = GetEngine(engine); + #endif /* !defined(NDEBUG) || defined(WITH_ASSERT) */ + const SpriteGroup *group; ResolverObject object;