Skip to content
This repository was archived by the owner on Aug 22, 2023. It is now read-only.

Commit 3cdc491

Browse files
committed
initialize pointer
1 parent af3c918 commit 3cdc491

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/esp8266-google-home-notifier.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ typedef class GoogleHomeNotifier {
4343
char m_clientid[40] = {0};
4444

4545
TTS tts;
46-
WiFiClientSecure* m_client;
46+
WiFiClientSecure* m_client = nullptr;
4747
IPAddress m_ipaddress;
4848
uint16_t m_port = 0;
4949
char m_locale[10] = "en";

0 commit comments

Comments
 (0)