aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarisa-Chan2014-12-19 15:38:28 +0600
committerMarisa-Chan2014-12-19 15:38:28 +0600
commit74ea583a4ef446a92cbba4506f7c04513d1ca997 (patch)
tree2189de0ed2a7b83cbbd58759dd2edbac72612635
parentc50024fd86e6bb0b21f70eb4e018f823913f36fd (diff)
downloadscummvm-rg350-74ea583a4ef446a92cbba4506f7c04513d1ca997.tar.gz
scummvm-rg350-74ea583a4ef446a92cbba4506f7c04513d1ca997.tar.bz2
scummvm-rg350-74ea583a4ef446a92cbba4506f7c04513d1ca997.zip
ZVISION: Fix uninitialized scalar field (CID 1109700)
-rw-r--r--engines/zvision/file/zfs_archive.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/zvision/file/zfs_archive.cpp b/engines/zvision/file/zfs_archive.cpp
index 0c076a798b..3a385cd8fd 100644
--- a/engines/zvision/file/zfs_archive.cpp
+++ b/engines/zvision/file/zfs_archive.cpp
@@ -31,6 +31,7 @@ namespace ZVision {
ZfsArchive::ZfsArchive(const Common::String &fileName) : _fileName(fileName) {
Common::File zfsFile;
+ memset(&_header, 0, sizeof(_header));
if (!zfsFile.open(_fileName)) {
warning("ZFSArchive::ZFSArchive(): Could not find the archive file");