1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-24 15:09:10 +00:00

(svn r12982) -Fix: compiler warning when compiling without asserts

This commit is contained in:
smatz
2008-05-06 23:45:25 +00:00
parent a9d263c459
commit 75a87a7266

View File

@@ -886,7 +886,10 @@ SpriteID GetCustomEngineSprite(EngineID engine, const Vehicle *v, Direction dire
SpriteID GetRotorOverrideSprite(EngineID engine, const Vehicle *v, bool info_view) SpriteID GetRotorOverrideSprite(EngineID engine, const Vehicle *v, bool info_view)
{ {
#if !defined(NDEBUG) || defined(WITH_ASSERT)
const Engine *e = GetEngine(engine); const Engine *e = GetEngine(engine);
#endif /* !defined(NDEBUG) || defined(WITH_ASSERT) */
const SpriteGroup *group; const SpriteGroup *group;
ResolverObject object; ResolverObject object;