diff options
author | Jeffrey Walton <noloader@gmail.com> | 2017-08-18 04:59:30 -0400 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2017-08-18 04:59:30 -0400 |
commit | 5ef2b814bc842eed6923d29591dbc4a962c104c6 (patch) | |
tree | 9a5dd5c946459b498524ea3305aaed343657e1f8 /gzip.h | |
parent | 0b31a12534caa6960651bb1b0995b6aef72e1aa3 (diff) | |
download | cryptopp-git-5ef2b814bc842eed6923d29591dbc4a962c104c6.tar.gz |
Clear Coverity finding UNINIT_CTOR (CID 148126)
Diffstat (limited to 'gzip.h')
-rw-r--r-- | gzip.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 ¶meters, BufferedTransformation *attachment=NULLPTR)
- : Deflator(parameters, attachment), m_totalLen(0)
+ : Deflator(parameters, attachment), m_totalLen(0), m_filetime(0)
{
IsolatedInitialize(parameters);
}
|