[Scummvm-git-logs] scummvm master -> 32c8ea021c313ba3582af6c230f94b7ca76e692e
digitall
dgturner at iee.org
Sat Sep 15 00:53:32 CEST 2018
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
32c8ea021c GOB: fixed missing member initialization
Commit: 32c8ea021c313ba3582af6c230f94b7ca76e692e
https://github.com/scummvm/scummvm/commit/32c8ea021c313ba3582af6c230f94b7ca76e692e
Author: Martin Gerhardy (martin.gerhardy at gmail.com)
Date: 2018-09-15T00:01:47+01:00
Commit Message:
GOB: fixed missing member initialization
Changed paths:
engines/gob/resources.cpp
diff --git a/engines/gob/resources.cpp b/engines/gob/resources.cpp
index dbed825..6eedab1 100644
--- a/engines/gob/resources.cpp
+++ b/engines/gob/resources.cpp
@@ -98,7 +98,10 @@ Common::SeekableReadStream *TextItem::stream() const {
Resources::TOTResourceTable::TOTResourceTable() {
- items = 0;
+ itemsCount = 0;
+ unknown = (byte)0;
+ items = NULL;
+ dataOffset = 0u;
}
Resources::TOTResourceTable::~TOTResourceTable() {
@@ -118,9 +121,11 @@ Resources::EXTResourceTable::~EXTResourceTable() {
Resources::TOTTextTable::TOTTextTable() {
- items = 0;
- data = 0;
- needFree = false;
+ needFree = false;
+ itemsCount = 0;
+ data = (byte)0;
+ size = 0;
+ items = NULL;
}
Resources::TOTTextTable::~TOTTextTable() {
More information about the Scummvm-git-logs
mailing list