diff options
author | Filippos Karapetis | 2009-09-24 10:02:13 +0000 |
---|---|---|
committer | Filippos Karapetis | 2009-09-24 10:02:13 +0000 |
commit | 16d7d9ba2375af7414fa95f9f9d3927e38e5b759 (patch) | |
tree | ea1d6031473d0f0e16d7b6f759856e2f83b8ab7f /engines/cruise | |
parent | 9026b635039880a8278174321039e9e7de1b1dc0 (diff) | |
download | scummvm-rg350-16d7d9ba2375af7414fa95f9f9d3927e38e5b759.tar.gz scummvm-rg350-16d7d9ba2375af7414fa95f9f9d3927e38e5b759.tar.bz2 scummvm-rg350-16d7d9ba2375af7414fa95f9f9d3927e38e5b759.zip |
Fixed some more warnings about unreachable code
svn-id: r44299
Diffstat (limited to 'engines/cruise')
-rw-r--r-- | engines/cruise/cruise.cpp | 2 | ||||
-rw-r--r-- | engines/cruise/volume.cpp | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/engines/cruise/cruise.cpp b/engines/cruise/cruise.cpp index adfe3f102d..3496ec50bb 100644 --- a/engines/cruise/cruise.cpp +++ b/engines/cruise/cruise.cpp @@ -89,7 +89,7 @@ Common::Error CruiseEngine::run() { if (!loadLanguageStrings()) { error("Could not setup language data for your version"); - return Common::kUnknownError; + //return Common::kUnknownError; } initialize(); diff --git a/engines/cruise/volume.cpp b/engines/cruise/volume.cpp index 2c998ea61d..b83be1d6ee 100644 --- a/engines/cruise/volume.cpp +++ b/engines/cruise/volume.cpp @@ -36,10 +36,9 @@ int16 fileData2; char currentBaseName[15] = ""; void loadPal(volumeDataStruct *entry) { - char name[20]; - // This code isn't currently being used #if 0 + char name[20]; if (PAL_file.isOpen()) PAL_file.close(); |