From 8ed05adaea5514018b65f823c7e1aad6d9d5a165 Mon Sep 17 00:00:00 2001 From: Le Philousophe Date: Thu, 4 Jul 2019 08:19:52 +0200 Subject: CRYOMNI3D: Silence more warnings --- engines/cryomni3d/versailles/logic.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/cryomni3d/versailles/logic.cpp') diff --git a/engines/cryomni3d/versailles/logic.cpp b/engines/cryomni3d/versailles/logic.cpp index cd76c3f599..0911a16136 100644 --- a/engines/cryomni3d/versailles/logic.cpp +++ b/engines/cryomni3d/versailles/logic.cpp @@ -2679,7 +2679,7 @@ IMG_CB(88003) { // Dispatch to the correct state if (_gameVariables[GameVariables::kBombState] >= 1 && _gameVariables[GameVariables::kBombState] <= 5) { - FixedImgCallback callback; + FixedImgCallback callback = nullptr; switch (_gameVariables[GameVariables::kBombState]) { case 1: callback = &CryOmni3DEngine_Versailles::img_88003b; -- cgit v1.2.3