aboutsummaryrefslogtreecommitdiff
path: root/engines/sherlock
diff options
context:
space:
mode:
authorFilippos Karapetis2015-06-29 02:45:58 +0300
committerFilippos Karapetis2015-06-29 02:45:58 +0300
commite1428ce7ac21a76cd6fc5538e247a51cb4a9432e (patch)
tree060f9ac824f60cb9954b0d33e6efdd0e77b12f41 /engines/sherlock
parent333e4d3463ace48a42e2720cacb86995e0dc2601 (diff)
downloadscummvm-rg350-e1428ce7ac21a76cd6fc5538e247a51cb4a9432e.tar.gz
scummvm-rg350-e1428ce7ac21a76cd6fc5538e247a51cb4a9432e.tar.bz2
scummvm-rg350-e1428ce7ac21a76cd6fc5538e247a51cb4a9432e.zip
SHERLOCK: SS: Fix uninitialized variable
Diffstat (limited to 'engines/sherlock')
-rw-r--r--engines/sherlock/scalpel/scalpel_inventory.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sherlock/scalpel/scalpel_inventory.cpp b/engines/sherlock/scalpel/scalpel_inventory.cpp
index 5744ba9e90..95ca67336a 100644
--- a/engines/sherlock/scalpel/scalpel_inventory.cpp
+++ b/engines/sherlock/scalpel/scalpel_inventory.cpp
@@ -30,7 +30,7 @@ namespace Sherlock {
namespace Scalpel {
-ScalpelInventory::ScalpelInventory(SherlockEngine *vm) : Inventory(vm) {
+ScalpelInventory::ScalpelInventory(SherlockEngine *vm) : Inventory(vm), _invIndex(0) {
}
ScalpelInventory::~ScalpelInventory() {