diff options
author | Filippos Karapetis | 2009-09-24 10:15:50 +0000 |
---|---|---|
committer | Filippos Karapetis | 2009-09-24 10:15:50 +0000 |
commit | 6b79910bcb5d70a116a1ff2cc3e8b011734ecb70 (patch) | |
tree | 2f6d9047b07dba0d93170a4c99bd7d28167d313d /engines/sword2 | |
parent | 16d7d9ba2375af7414fa95f9f9d3927e38e5b759 (diff) | |
download | scummvm-rg350-6b79910bcb5d70a116a1ff2cc3e8b011734ecb70.tar.gz scummvm-rg350-6b79910bcb5d70a116a1ff2cc3e8b011734ecb70.tar.bz2 scummvm-rg350-6b79910bcb5d70a116a1ff2cc3e8b011734ecb70.zip |
Fixed some more warnings about unreachable code
svn-id: r44300
Diffstat (limited to 'engines/sword2')
-rw-r--r-- | engines/sword2/interpreter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sword2/interpreter.cpp b/engines/sword2/interpreter.cpp index 13d42df74f..b48e92acb6 100644 --- a/engines/sword2/interpreter.cpp +++ b/engines/sword2/interpreter.cpp @@ -325,7 +325,7 @@ int Logic::runScript2(byte *scriptData, byte *objectData, byte *offsetPtr) { if (READ_LE_UINT32(checksumBlock) != 12345678) { error("Invalid script in object %s", header.name); - return 0; + //return 0; } int32 codeLen = READ_LE_UINT32(checksumBlock + 4); @@ -754,7 +754,7 @@ int Logic::runScript2(byte *scriptData, byte *objectData, byte *offsetPtr) { break; default: error("Invalid script command %d", curCommand); - return 3; + //return 3; } } |