aboutsummaryrefslogtreecommitdiff
path: root/engines/sky
diff options
context:
space:
mode:
authorJohannes Schickel2009-05-13 18:12:17 +0000
committerJohannes Schickel2009-05-13 18:12:17 +0000
commitf0182121f79685063edb50c9647e4f6f40bd0ba6 (patch)
tree482cd6fbe9b6a8fae81a72b9c3fc03961a9eda45 /engines/sky
parentb9ac179b2e601f761cc60d431a3e5428f3740935 (diff)
downloadscummvm-rg350-f0182121f79685063edb50c9647e4f6f40bd0ba6.tar.gz
scummvm-rg350-f0182121f79685063edb50c9647e4f6f40bd0ba6.tar.bz2
scummvm-rg350-f0182121f79685063edb50c9647e4f6f40bd0ba6.zip
Fix some variable may be used uninitialized warnings.
svn-id: r40528
Diffstat (limited to 'engines/sky')
-rw-r--r--engines/sky/text.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/sky/text.cpp b/engines/sky/text.cpp
index 64a72a53aa..820f1827c2 100644
--- a/engines/sky/text.cpp
+++ b/engines/sky/text.cpp
@@ -339,6 +339,7 @@ DisplayedText Text::displayText(char *textPtr, uint8 *dest, bool centre, uint16
} while (textChar >= 10);
DisplayedText ret;
+ memset(&ret, 0, sizeof(ret));
ret.textData = dest;
ret.textWidth = dtLastWidth;
return ret;