Initialize member variables to avoid warnings

This commit is contained in:
catalinr
2019-10-14 07:53:21 +03:00
parent c150ece20f
commit 2fc569f0c2
9 changed files with 12 additions and 7 deletions

View File

@@ -3379,7 +3379,7 @@ private:
{
// notice that there is no need to initialize m_len here as it's unused
// as long as m_str is NULL
ConvertedBuffer() : m_str(NULL) {}
ConvertedBuffer() : m_str(NULL), m_len(0) {}
~ConvertedBuffer()
{ free(m_str); }