aboutsummaryrefslogtreecommitdiff
path: root/engines/lastexpress/data
diff options
context:
space:
mode:
authorLittleboy2012-08-13 00:05:38 -0400
committerLittleboy2012-08-27 21:49:33 -0400
commitcd5e750a7fdfa0c2ac7904d24b7d8e5a06eff99a (patch)
tree786405bc501813c293298832245c4a25f2df4004 /engines/lastexpress/data
parent4b05031042387ad9118690a77e1681165296bdec (diff)
downloadscummvm-rg350-cd5e750a7fdfa0c2ac7904d24b7d8e5a06eff99a.tar.gz
scummvm-rg350-cd5e750a7fdfa0c2ac7904d24b7d8e5a06eff99a.tar.bz2
scummvm-rg350-cd5e750a7fdfa0c2ac7904d24b7d8e5a06eff99a.zip
LASTEXPRESS: Fix analysis warnings
Diffstat (limited to 'engines/lastexpress/data')
-rw-r--r--engines/lastexpress/data/background.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/lastexpress/data/background.cpp b/engines/lastexpress/data/background.cpp
index 3d866c26f9..60379251a3 100644
--- a/engines/lastexpress/data/background.cpp
+++ b/engines/lastexpress/data/background.cpp
@@ -107,6 +107,7 @@ byte *Background::decodeComponent(Common::SeekableReadStream *in, uint32 inSize,
return NULL;
// Initialize the decoding
+ memset(out, 0, outSize * sizeof(byte));
uint32 inPos = 0;
uint32 outPos = 0;