aboutsummaryrefslogtreecommitdiff
path: root/engines/sherlock/scalpel
diff options
context:
space:
mode:
authorPaul Gilbert2015-11-16 19:10:22 -0500
committerPaul Gilbert2015-11-16 19:10:22 -0500
commit9b17bf31d44c32b338c8b6a307666320090e9030 (patch)
tree78ef932d0b3e073e0cf6e2383099c1f60d456bfa /engines/sherlock/scalpel
parente3f81c267b5ef08838734baa31e84bec9ee7fb3d (diff)
downloadscummvm-rg350-9b17bf31d44c32b338c8b6a307666320090e9030.tar.gz
scummvm-rg350-9b17bf31d44c32b338c8b6a307666320090e9030.tar.bz2
scummvm-rg350-9b17bf31d44c32b338c8b6a307666320090e9030.zip
SHERLOCK: Fix Coverity warnings about uninitialized fields
Diffstat (limited to 'engines/sherlock/scalpel')
-rw-r--r--engines/sherlock/scalpel/scalpel_saveload.cpp3
-rw-r--r--engines/sherlock/scalpel/tsage/logo.cpp1
2 files changed, 3 insertions, 1 deletions
diff --git a/engines/sherlock/scalpel/scalpel_saveload.cpp b/engines/sherlock/scalpel/scalpel_saveload.cpp
index 01ba149813..61830a56b2 100644
--- a/engines/sherlock/scalpel/scalpel_saveload.cpp
+++ b/engines/sherlock/scalpel/scalpel_saveload.cpp
@@ -39,7 +39,8 @@ const int ENV_POINTS[6][3] = {
/*----------------------------------------------------------------*/
-ScalpelSaveManager::ScalpelSaveManager(SherlockEngine *vm, const Common::String &target) : SaveManager(vm, target) {
+ScalpelSaveManager::ScalpelSaveManager(SherlockEngine *vm, const Common::String &target) :
+ SaveManager(vm, target), _envMode(SAVEMODE_NONE) {
}
void ScalpelSaveManager::drawInterface() {
diff --git a/engines/sherlock/scalpel/tsage/logo.cpp b/engines/sherlock/scalpel/tsage/logo.cpp
index 014470dcc8..273d26df74 100644
--- a/engines/sherlock/scalpel/tsage/logo.cpp
+++ b/engines/sherlock/scalpel/tsage/logo.cpp
@@ -163,6 +163,7 @@ Object::Object() {
_angle = _changeCtr = 0;
_walkStartFrame = 0;
_majorDiff = _minorDiff = 0;
+ _updateStartFrame = 0;
}
void Object::setVisage(int visage, int strip) {