IOT-2539 Fix return-type warning 49/22849/2
authorGeorge Nash <george.nash@intel.com>
Mon, 16 Oct 2017 17:16:16 +0000 (10:16 -0700)
committerUze Choi <uzchoi@samsung.com>
Tue, 17 Oct 2017 06:51:41 +0000 (06:51 +0000)
commita5fd41ec680248b9833a621f3f71f3437329bb02
treeec749479a1ffa3c742ec8512445edfba67126560
parentcd347c9b9209fd87959a73b68e1bb6d1becac50e
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.

Bug: https://jira.iotivity.org/browse/IOT-2539
Bug: https://jira.iotivity.org/browse/IOT-2714
Change-Id: I018776e8800aa51ed9a49a55554949fb869b9495
Signed-off-by: George Nash <george.nash@intel.com>
service/easy-setup/enrollee/src/resourcehandler.c