diff options
author | Marisa-Chan | 2014-12-19 15:38:28 +0600 |
---|---|---|
committer | Marisa-Chan | 2014-12-19 15:38:28 +0600 |
commit | 74ea583a4ef446a92cbba4506f7c04513d1ca997 (patch) | |
tree | 2189de0ed2a7b83cbbd58759dd2edbac72612635 | |
parent | c50024fd86e6bb0b21f70eb4e018f823913f36fd (diff) | |
download | scummvm-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.cpp | 1 |
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"); |