[Scummvm-git-logs] scummvm master -> aa2e84c37653da4b2c3c0acd076554ade2e5ed5c

digitall dgturner at iee.org
Sun Jan 15 09:50:07 CET 2017


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:
aa2e84c376 MACVENTURE: Fix Compiler Warning for Uninitialized Variable Usage.


Commit: aa2e84c37653da4b2c3c0acd076554ade2e5ed5c
    https://github.com/scummvm/scummvm/commit/aa2e84c37653da4b2c3c0acd076554ade2e5ed5c
Author: D G Turner (digitall at scummvm.org)
Date: 2017-01-15T08:56:38Z

Commit Message:
MACVENTURE: Fix Compiler Warning for Uninitialized Variable Usage.

Changed paths:
    engines/macventure/text.cpp


diff --git a/engines/macventure/text.cpp b/engines/macventure/text.cpp
index d8e18ff..60d7ea1 100644
--- a/engines/macventure/text.cpp
+++ b/engines/macventure/text.cpp
@@ -53,7 +53,7 @@ void TextAsset::decodeOld() {
 	Common::BitStream32BELSB stream(res, DisposeAfterUse::YES);
 	char *str = new char[strLen + 1];
 	bool lowercase = false;
-	char c;
+	char c = ' ';
 	for (uint16 i = 0; i < strLen; i++) {
 		char val = stream.getBits(5);
 		if (val == 0x0) { // Space





More information about the Scummvm-git-logs mailing list