Initialize pointer to a default value

This commit is contained in:
Chocobo1
2022-06-23 12:28:00 +08:00
parent 6de72ecc77
commit 02d906d3ae
77 changed files with 178 additions and 202 deletions

View File

@@ -66,8 +66,8 @@ namespace Net
void manageDatabaseUpdate();
void downloadDatabaseFile();
bool m_enabled;
GeoIPDatabase *m_geoIPDatabase;
bool m_enabled = false;
GeoIPDatabase *m_geoIPDatabase = nullptr;
static GeoIPManager *m_instance;
};