Skip to content

Commit b72771c

Browse files
committed
added missing initializer
1 parent d0c2820 commit b72771c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/MQTTClient.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ class MQTTClient {
5757
lwmqtt_err_t _lastError = (lwmqtt_err_t)0;
5858

5959
public:
60-
void * ref;
60+
void * ref = nullptr;
6161

6262
explicit MQTTClient(int bufSize = 128);
6363

0 commit comments

Comments
 (0)