aboutsummaryrefslogtreecommitdiff
path: root/engines/saga
diff options
context:
space:
mode:
authorTorbjörn Andersson2006-06-20 18:55:25 +0000
committerTorbjörn Andersson2006-06-20 18:55:25 +0000
commitecfedb1e81dc738620bdc42be15855559674a9ef (patch)
tree57eddf927c69a3cb9d0d15720bd29ded15c2a5fa /engines/saga
parent1569d5fadc511780cd24bd835fc8983a76a714ba (diff)
downloadscummvm-rg350-ecfedb1e81dc738620bdc42be15855559674a9ef.tar.gz
scummvm-rg350-ecfedb1e81dc738620bdc42be15855559674a9ef.tar.bz2
scummvm-rg350-ecfedb1e81dc738620bdc42be15855559674a9ef.zip
Cleanup. It seems unnecessary to have a "break" right after an unconditional
return in a switch case. svn-id: r23198
Diffstat (limited to 'engines/saga')
-rw-r--r--engines/saga/events.cpp2
-rw-r--r--engines/saga/image.cpp1
2 files changed, 0 insertions, 3 deletions
diff --git a/engines/saga/events.cpp b/engines/saga/events.cpp
index bce0c454b3..bc3ac68fec 100644
--- a/engines/saga/events.cpp
+++ b/engines/saga/events.cpp
@@ -364,7 +364,6 @@ int Events::handleOneShot(Event *event) {
case kEventEnd:
_vm->_scene->nextScene();
return kEvStBreak;
- break;
default:
break;
}
@@ -514,7 +513,6 @@ int Events::initializeEvent(Event *event) {
break;
default:
return FAILURE;
- break;
}
return SUCCESS;
diff --git a/engines/saga/image.cpp b/engines/saga/image.cpp
index f03880a01e..40e0392d3b 100644
--- a/engines/saga/image.cpp
+++ b/engines/saga/image.cpp
@@ -293,7 +293,6 @@ int SagaEngine::decodeBGImageRLE(const byte *inbuf, size_t inbuf_len, byte *outb
break;
default:
return FAILURE;
- break;
}
}