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

@@ -58,10 +58,10 @@ namespace Http
void incomingConnection(qintptr socketDescriptor) override;
void removeConnection(Connection *connection);
IRequestHandler *m_requestHandler;
IRequestHandler *m_requestHandler = nullptr;
QSet<Connection *> m_connections; // for tracking persistent connections
bool m_https;
bool m_https = false;
QList<QSslCertificate> m_certificates;
QSslKey m_key;
};