From 5ef2b814bc842eed6923d29591dbc4a962c104c6 Mon Sep 17 00:00:00 2001 From: Jeffrey Walton Date: Fri, 18 Aug 2017 04:59:30 -0400 Subject: [PATCH] Clear Coverity finding UNINIT_CTOR (CID 148126) --- gzip.h | 4 ++-- 1 file 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 ¶meters, BufferedTransformation *attachment=NULLPTR) - : Deflator(parameters, attachment), m_totalLen(0) + : Deflator(parameters, attachment), m_totalLen(0), m_filetime(0) { IsolatedInitialize(parameters); }