Skip to content

Commit

Permalink
added missing initializer
Browse files Browse the repository at this point in the history
  • Loading branch information
256dpi committed Dec 2, 2019
1 parent d0c2820 commit b72771c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/MQTTClient.h
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ class MQTTClient {
lwmqtt_err_t _lastError = (lwmqtt_err_t)0;

public:
void * ref;
void * ref = nullptr;

explicit MQTTClient(int bufSize = 128);

Expand Down

0 comments on commit b72771c

Please sign in to comment.