aboutsummaryrefslogtreecommitdiff
path: root/engines/xeen/detection.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2017-11-14 21:06:12 -0500
committerPaul Gilbert2017-11-14 21:06:12 -0500
commit74612b40f79e3ffd12c4e21323052a4204f66013 (patch)
tree574254aa6704b8e65c323536d8dc73179b74d99c /engines/xeen/detection.cpp
parente83ede4f07e4547cc9bd93462cfffb4db0a17170 (diff)
downloadscummvm-rg350-74612b40f79e3ffd12c4e21323052a4204f66013.tar.gz
scummvm-rg350-74612b40f79e3ffd12c4e21323052a4204f66013.tar.bz2
scummvm-rg350-74612b40f79e3ffd12c4e21323052a4204f66013.zip
XEEN: Fix some Coverity warnings
Diffstat (limited to 'engines/xeen/detection.cpp')
-rw-r--r--engines/xeen/detection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/xeen/detection.cpp b/engines/xeen/detection.cpp
index 3c619e9877..0866d5f107 100644
--- a/engines/xeen/detection.cpp
+++ b/engines/xeen/detection.cpp
@@ -119,7 +119,7 @@ bool XeenMetaEngine::createInstance(OSystem *syst, Engine **engine, const ADGame
*engine = new Xeen::WorldOfXeen::WorldOfXeenEngine(syst, gd);
break;
default:
- break;
+ error("Invalid game");
}
return gd != 0;