Closed dgarske closed 2 years ago
Jenkins reported a valid build error with default config:
./configure CPPFLAGS="-I./wolfssl" LDFLAGS="-L./wolfssl/src/.libs/" --enable-nonblock
src/mqtt_client.c: In function ‘MqttClient_Connect’:
src/mqtt_client.c:1179:13: error: unused variable ‘len’ [-Werror=unused-variable]
int rc, len = 0;
Specifically fixes write case use of read
client->packet.buf_len
.