Merge branch 'warnings' of https://github.com/catalinr/wxWidgets
Fix MSVS analyzer warnings about int multiplication overflow and uninitialized member variables. See https://github.com/wxWidgets/wxWidgets/pull/1606
This commit is contained in:
@@ -3374,7 +3374,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); }
|
||||
|
||||
|
Reference in New Issue
Block a user