Remove shadow warn. (MQTTAsync_completeConnection)

Removes shadow of previous defined local (m).
Especially because the two are of different types:

MQTTAsyncs* m
Messages* m
Signed-off-by: 's avatarNiklas Johansson <niklas.johansson@prevas.dk>
parent 7928f8a5
...@@ -1689,8 +1689,8 @@ static int MQTTAsync_completeConnection(MQTTAsyncs* m, MQTTPacket* pack) ...@@ -1689,8 +1689,8 @@ static int MQTTAsync_completeConnection(MQTTAsyncs* m, MQTTPacket* pack)
while (ListNextElement(m->c->outboundMsgs, &outcurrent)) while (ListNextElement(m->c->outboundMsgs, &outcurrent))
{ {
Messages* m = (Messages*)(outcurrent->content); Messages* messages = (Messages*)(outcurrent->content);
m->lastTouch = 0; messages->lastTouch = 0;
} }
MQTTProtocol_retry((time_t)0, 1, 1); MQTTProtocol_retry((time_t)0, 1, 1);
if (m->c->connected != 1) if (m->c->connected != 1)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment