aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorFilippos Karapetis2013-05-01 01:23:20 +0300
committerFilippos Karapetis2013-05-01 01:51:11 +0300
commitabef7f64bdeea54b254acb16055f903da76380f5 (patch)
treee4dab475365aa139f9c13765b15d3b310da8c0c0 /engines
parent2d90cc4ac32c1298742a224ba7afb1a87ab5c48d (diff)
downloadscummvm-rg350-abef7f64bdeea54b254acb16055f903da76380f5.tar.gz
scummvm-rg350-abef7f64bdeea54b254acb16055f903da76380f5.tar.bz2
scummvm-rg350-abef7f64bdeea54b254acb16055f903da76380f5.zip
SCI: Fix a non-initialized variable in MessageReader - CID 1003120
Diffstat (limited to 'engines')
-rw-r--r--engines/sci/engine/message.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/engine/message.cpp b/engines/sci/engine/message.cpp
index 49be25d7f1..8c5741f8b0 100644
--- a/engines/sci/engine/message.cpp
+++ b/engines/sci/engine/message.cpp
@@ -56,7 +56,7 @@ public:
protected:
MessageReader(const byte *data, uint size, uint headerSize, uint recordSize)
- : _data(data), _size(size), _headerSize(headerSize), _recordSize(recordSize) { }
+ : _data(data), _size(size), _headerSize(headerSize), _recordSize(recordSize), _messageCount(0) { }
const byte *_data;
const uint _size;