Unverified Commit e81b6755 authored by Ian Craggs's avatar Ian Craggs Committed by GitHub

Merge pull request #345 from nsjodk/develop

Remove shadow warning and improve consistency
parents c85e4a2f c15584e1
......@@ -738,7 +738,7 @@ static MQTTAsync_queuedCommand* MQTTAsync_restoreCommand(char* buffer, int bufle
for (i = 0; i < command->details.unsub.count; ++i)
{
size_t data_size = strlen(ptr) + 1;
data_size = strlen(ptr) + 1;
command->details.unsub.topics[i] = malloc(data_size);
strcpy(command->details.unsub.topics[i], ptr);
......
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