Skip to content

Commit

Permalink
Solve issue #2092 by initializing * _client to nullptr (#2097)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeroen88 authored and me-no-dev committed Nov 26, 2018
1 parent e609c78 commit 0640964
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/HTTPClient/src/HTTPClient.h
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ class HTTPClient
std::unique_ptr<WiFiClient> _tcpDeprecated;
#endif

WiFiClient* _client;
WiFiClient* _client = nullptr;

/// request handling
String _host;
Expand Down

0 comments on commit 0640964

Please sign in to comment.