diff options
author | Eugene Sandulenko | 2011-11-03 00:03:04 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2011-11-03 00:03:04 +0000 |
commit | 558a499a02d7f9e5ff772ad65d18044b6a35486d (patch) | |
tree | a793c07dcc9a6364bfb7d7ebc8f18cd2daa1061f | |
parent | a95820956e046c13249bc75f6e1fa26bcddc9d52 (diff) | |
download | scummvm-rg350-558a499a02d7f9e5ff772ad65d18044b6a35486d.tar.gz scummvm-rg350-558a499a02d7f9e5ff772ad65d18044b6a35486d.tar.bz2 scummvm-rg350-558a499a02d7f9e5ff772ad65d18044b6a35486d.zip |
CGE: Fix warning
-rw-r--r-- | engines/cge/cge_main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/cge/cge_main.cpp b/engines/cge/cge_main.cpp index 1c2759bd97..8798a7f793 100644 --- a/engines/cge/cge_main.cpp +++ b/engines/cge/cge_main.cpp @@ -185,7 +185,7 @@ void CGEEngine::syncHeader(Common::Serializer &s) { s.syncAsUint16LE(checksum); } else { // Read checksum and validate it - uint16 checksum; + uint16 checksum = 0; s.syncAsUint16LE(checksum); if (checksum != kSavegameCheckSum) error("%s", _text->getText(kBadSVG)); |