diff --git a/src/apps/mqtt/mqtt.c b/src/apps/mqtt/mqtt.c index 5f4a9eff..351b6752 100644 --- a/src/apps/mqtt/mqtt.c +++ b/src/apps/mqtt/mqtt.c @@ -281,7 +281,7 @@ mqtt_append_request(struct mqtt_request_t **tail, struct mqtt_request_t *r) { struct mqtt_request_t *head = NULL; s16_t time_before = 0; - struct mqtt_request_t *iter = *tail; + struct mqtt_request_t *iter; LWIP_ASSERT("mqtt_append_request: tail != NULL", tail != NULL);