From 767096631ad56ed8efa1be449745fec2691248ec Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Fri, 19 Dec 2008 16:59:10 +0000 Subject: [PATCH] Fixed warning --- src/osgPlugins/gz/ReaderWriterGZ.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osgPlugins/gz/ReaderWriterGZ.cpp b/src/osgPlugins/gz/ReaderWriterGZ.cpp index f3503f484..971725f54 100644 --- a/src/osgPlugins/gz/ReaderWriterGZ.cpp +++ b/src/osgPlugins/gz/ReaderWriterGZ.cpp @@ -252,7 +252,7 @@ bool ReaderWriterGZ::read(std::istream& fin, std::string& destination) const 15 + 32 // autodected zlib or gzip header ); if (ret != Z_OK) - return ret; + return false; /* decompress until deflate stream ends or end of file */ do {