diff options
author | Torbjörn Andersson | 2007-06-03 14:29:52 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2007-06-03 14:29:52 +0000 |
commit | b159645be4bfe53f8f050be768325e3c777e8ed9 (patch) | |
tree | 61288c34d343505fbbebf88fe3533540afbb2b22 /backends/saves/compressed/compressed-saves.cpp | |
parent | a5f34ae1da559b8733b478d24c9c684d4684c931 (diff) | |
download | scummvm-rg350-b159645be4bfe53f8f050be768325e3c777e8ed9.tar.gz scummvm-rg350-b159645be4bfe53f8f050be768325e3c777e8ed9.tar.bz2 scummvm-rg350-b159645be4bfe53f8f050be768325e3c777e8ed9.zip |
Initialise _stream.next_in as well, to silence another Valgrind warning in at
least some versions of Freddi Fish 1.
svn-id: r27063
Diffstat (limited to 'backends/saves/compressed/compressed-saves.cpp')
-rw-r--r-- | backends/saves/compressed/compressed-saves.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/backends/saves/compressed/compressed-saves.cpp b/backends/saves/compressed/compressed-saves.cpp index 2adae229f5..03fc28cafe 100644 --- a/backends/saves/compressed/compressed-saves.cpp +++ b/backends/saves/compressed/compressed-saves.cpp @@ -219,6 +219,7 @@ public: _stream.next_out = _buf; _stream.avail_out = BUFSIZE; _stream.avail_in = 0; + _stream.next_in = 0; } ~CompressedOutSaveFile() { |