From b159645be4bfe53f8f050be768325e3c777e8ed9 Mon Sep 17 00:00:00 2001 From: Torbjörn Andersson Date: Sun, 3 Jun 2007 14:29:52 +0000 Subject: Initialise _stream.next_in as well, to silence another Valgrind warning in at least some versions of Freddi Fish 1. svn-id: r27063 --- backends/saves/compressed/compressed-saves.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'backends/saves') 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() { -- cgit v1.2.3