Skip to content

Commit 0640964

Browse files
Jeroen88me-no-dev
Jeroen88
authored andcommitted
Solve issue #2092 by initializing * _client to nullptr (#2097)
1 parent e609c78 commit 0640964

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: libraries/HTTPClient/src/HTTPClient.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ class HTTPClient
208208
std::unique_ptr<WiFiClient> _tcpDeprecated;
209209
#endif
210210

211-
WiFiClient* _client;
211+
WiFiClient* _client = nullptr;
212212

213213
/// request handling
214214
String _host;

0 commit comments

Comments
 (0)