summaryrefslogtreecommitdiff
path: root/gzip.h
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2017-08-18 04:59:30 -0400
committerJeffrey Walton <noloader@gmail.com>2017-08-18 04:59:30 -0400
commit5ef2b814bc842eed6923d29591dbc4a962c104c6 (patch)
tree9a5dd5c946459b498524ea3305aaed343657e1f8 /gzip.h
parent0b31a12534caa6960651bb1b0995b6aef72e1aa3 (diff)
downloadcryptopp-git-5ef2b814bc842eed6923d29591dbc4a962c104c6.tar.gz
Clear Coverity finding UNINIT_CTOR (CID 148126)
Diffstat (limited to 'gzip.h')
-rw-r--r--gzip.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gzip.h b/gzip.h
index 0c3f53df..f6b9cac0 100644
--- a/gzip.h
+++ b/gzip.h
@@ -27,14 +27,14 @@ public:
//! if a file has both compressible and uncompressible parts, it may fail to compress
//! some of the compressible parts.
Gzip(BufferedTransformation *attachment=NULLPTR, unsigned int deflateLevel=DEFAULT_DEFLATE_LEVEL, unsigned int log2WindowSize=DEFAULT_LOG2_WINDOW_SIZE, bool detectUncompressible=true)
- : Deflator(attachment, deflateLevel, log2WindowSize, detectUncompressible), m_totalLen(0) { }
+ : Deflator(attachment, deflateLevel, log2WindowSize, detectUncompressible), m_totalLen(0), m_filetime(0) { }
//! \brief Construct a Gzip compressor
//! \param parameters a set of NameValuePairs to initialize this object
//! \param attachment an attached transformation
//! \details Possible parameter names: Log2WindowSize, DeflateLevel, DetectUncompressible
Gzip(const NameValuePairs &parameters, BufferedTransformation *attachment=NULLPTR)
- : Deflator(parameters, attachment), m_totalLen(0)
+ : Deflator(parameters, attachment), m_totalLen(0), m_filetime(0)
{
IsolatedInitialize(parameters);
}