aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--common/engine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/engine.cpp b/common/engine.cpp
index 14ee604e91..69074d42d5 100644
--- a/common/engine.cpp
+++ b/common/engine.cpp
@@ -79,7 +79,7 @@ const char *Engine::getSavePath() const
Engine *Engine::createFromDetector(GameDetector *detector, OSystem *syst)
{
- Engine *engine;
+ Engine *engine = NULL;
if (detector->_gameId >= GID_SIMON_FIRST && detector->_gameId <= GID_SIMON_LAST) {
// Simon the Sorcerer