[Scummvm-cvs-logs] scummvm master -> b86da6028fd702cd2a3f0c278d1b372135208ad3
fingolfin
max at quendi.de
Wed May 25 16:34:07 CEST 2011
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:
b86da6028f MOHAWK: Fix warning about uninitialized var
Commit: b86da6028fd702cd2a3f0c278d1b372135208ad3
https://github.com/scummvm/scummvm/commit/b86da6028fd702cd2a3f0c278d1b372135208ad3
Author: Max Horn (max at quendi.de)
Date: 2011-05-25T07:32:38-07:00
Commit Message:
MOHAWK: Fix warning about uninitialized var
Changed paths:
engines/mohawk/livingbooks.cpp
diff --git a/engines/mohawk/livingbooks.cpp b/engines/mohawk/livingbooks.cpp
index a4e7f03..375806c 100644
--- a/engines/mohawk/livingbooks.cpp
+++ b/engines/mohawk/livingbooks.cpp
@@ -3781,7 +3781,7 @@ void LBProxyItem::init() {
Common::String filename = _vm->getFileNameFromConfig("Proxies", _desc.c_str(), leftover);
if (!leftover.empty())
error("LBProxyItem tried loading proxy '%s' but got leftover '%s'", _desc.c_str(), leftover.c_str());
- uint16 baseId;
+ uint16 baseId = 0;
for (uint i = 0; i < filename.size(); i++) {
if (filename[i] == ';') {
baseId = atoi(filename.c_str() + i + 1);
More information about the Scummvm-git-logs
mailing list