aboutsummaryrefslogtreecommitdiff
path: root/engines/macventure
diff options
context:
space:
mode:
authorD G Turner2017-01-15 08:56:38 +0000
committerD G Turner2017-01-15 08:56:38 +0000
commitaa2e84c37653da4b2c3c0acd076554ade2e5ed5c (patch)
tree0d2b96a6f0a82ba3a89819efbf708232c5ddc53d /engines/macventure
parent2e48529fa1f1d865299db81bc99cb7537656b19f (diff)
downloadscummvm-rg350-aa2e84c37653da4b2c3c0acd076554ade2e5ed5c.tar.gz
scummvm-rg350-aa2e84c37653da4b2c3c0acd076554ade2e5ed5c.tar.bz2
scummvm-rg350-aa2e84c37653da4b2c3c0acd076554ade2e5ed5c.zip
MACVENTURE: Fix Compiler Warning for Uninitialized Variable Usage.
Diffstat (limited to 'engines/macventure')
-rw-r--r--engines/macventure/text.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/macventure/text.cpp b/engines/macventure/text.cpp
index d8e18fffdf..60d7ea1316 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