Initialize properly pointer

Fixes coverity issue 23411
This commit is contained in:
Jean-Marc Lasgouttes 2017-02-25 00:19:08 +01:00
parent e68afbe671
commit 8a9ea4d264

View File

@ -57,7 +57,7 @@ private:
int flush_buffer();
public:
gzstreambuf() : opened(0), mode(0) {
gzstreambuf() : file(0), opened(0), mode(0) {
setp( buffer, buffer + (bufferSize-1));
setg( buffer + 4, // beginning of putback area
buffer + 4, // read position