[Scummvm-cvs-logs] scummvm master -> 8fc8c6934578e32f0c8fc19a120558ca93c08317

Strangerke Strangerke at scummvm.org
Fri Apr 26 08:44:32 CEST 2013


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:
8fc8c69345 HUGO: Fix some uninitialized variables. CID 1002887


Commit: 8fc8c6934578e32f0c8fc19a120558ca93c08317
    https://github.com/scummvm/scummvm/commit/8fc8c6934578e32f0c8fc19a120558ca93c08317
Author: Strangerke (strangerke at scummvm.org)
Date: 2013-04-25T23:43:23-07:00

Commit Message:
HUGO: Fix some uninitialized variables. CID 1002887

Changed paths:
    engines/hugo/file.cpp



diff --git a/engines/hugo/file.cpp b/engines/hugo/file.cpp
index 1758f3f..89db21e 100644
--- a/engines/hugo/file.cpp
+++ b/engines/hugo/file.cpp
@@ -59,6 +59,11 @@ static const int s_bootCypherLen = sizeof(s_bootCypher) - 1;
 FileManager::FileManager(HugoEngine *vm) : _vm(vm) {
 	_hasReadHeader = false;
 	_firstUIFFl = true;
+
+	_UIFHeader->_size = 0;
+	_UIFHeader->_offset = 0;
+	_soundHdr->_size = 0;
+	_soundHdr->_offset = 0;
 }
 
 FileManager::~FileManager() {






More information about the Scummvm-git-logs mailing list