mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-18 14:38:04 -06:00
Initialize pointer to a default value
This commit is contained in:
@@ -76,13 +76,7 @@ struct DataFieldDescriptor
|
||||
};
|
||||
|
||||
GeoIPDatabase::GeoIPDatabase(const quint32 size)
|
||||
: m_ipVersion(0)
|
||||
, m_recordSize(0)
|
||||
, m_nodeCount(0)
|
||||
, m_nodeSize(0)
|
||||
, m_indexSize(0)
|
||||
, m_recordBytes(0)
|
||||
, m_size(size)
|
||||
: m_size(size)
|
||||
, m_data(new uchar[size])
|
||||
{
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user