diff options
author | Paul Gilbert | 2011-08-06 13:46:44 +1000 |
---|---|---|
committer | Paul Gilbert | 2011-08-06 13:46:44 +1000 |
commit | 63d49d3e1a460e848915ee54ca85812e1129aaf8 (patch) | |
tree | 7bfaf5ee679be950e81e5381f4cbbc0f04cb8faa | |
parent | 33c42264868573ed7a47f66075f75d60d2233b39 (diff) | |
download | scummvm-rg350-63d49d3e1a460e848915ee54ca85812e1129aaf8.tar.gz scummvm-rg350-63d49d3e1a460e848915ee54ca85812e1129aaf8.tar.bz2 scummvm-rg350-63d49d3e1a460e848915ee54ca85812e1129aaf8.zip |
CGE: Fix uninitialised value Valgrind warnings when saving sprite data
-rw-r--r-- | engines/cge/vga13h.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/cge/vga13h.cpp b/engines/cge/vga13h.cpp index d2ba9b1b99..4ad4e83ad6 100644 --- a/engines/cge/vga13h.cpp +++ b/engines/cge/vga13h.cpp @@ -647,7 +647,7 @@ BitmapPtr Sprite::ghost() { } void Sprite::sync(Common::Serializer &s) { - uint16 unused; + uint16 unused = 0; s.syncAsUint16LE(unused); s.syncAsUint16LE(unused); // _ext |