Commit a457b047 authored by Parkhi's avatar Parkhi Committed by Uze Choi

Fix defects detected by static analysis

Change-Id: I9eba31f8f716f8d3b5b04b803bc4c9ecdf035e10
Signed-off-by: default avatarParkhi <h_w.park@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/15007Reviewed-by: default avatarJihun Ha <jihun.ha@samsung.com>
Reviewed-by: default avatarMadan Lanka <lanka.madan@samsung.com>
Tested-by: default avatarjenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: default avatarUze Choi <uzchoi@samsung.com>
parent 9c99f076
......@@ -809,7 +809,6 @@ OCRepPayload* constructResponseOfProv(OCEntityHandlerRequest *ehRequest)
if(nextPayload != NULL)
{
payload->next = nextPayload;
payload = payload->next;
}
payload = head;
......
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