Commit a5fd41ec authored by George Nash's avatar George Nash Committed by Uze Choi

IOT-2539 Fix return-type warning

This fixes moved the return value out of the if statment so
the result of the operation will be returned even if
ehRequest->query is null.

Change-Id: I018776e8800aa51ed9a49a55554949fb869b9495
Signed-off-by: George Nash's avatarGeorge Nash <>
parent cd347c9b
......@@ -422,10 +422,9 @@ OCEntityHandlerResult updateEasySetupResource(OCEntityHandlerRequest* ehRequest,
OIC_LOG(DEBUG, ES_RH_TAG, "Handling POST request on default interface");
return ehResult;
OIC_LOG(DEBUG, ES_RH_TAG, "updateEasySetupResource exit");
return ehResult;
void updateEasySetupConnectProperty(OCRepPayload* input)
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