From: jihwan.seo Date: Tue, 25 Oct 2016 09:40:33 +0000 (+0900) Subject: fix jenkins build failure related setErrorCode X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f57da19541988872888c086d5763b1d7fd29d609;p=contrib%2Fiotivity.git fix jenkins build failure related setErrorCode this issue causes by https://gerrit.iotivity.org/gerrit/#/c/13151/ Change-Id: I7eb1a208f65bd6a1f6a207de85363fd540bd2705 Signed-off-by: jihwan.seo Reviewed-on: https://gerrit.iotivity.org/gerrit/13647 Reviewed-by: Hyuna Jo Tested-by: jenkins-iotivity Reviewed-by: Ashok Babu Channa --- diff --git a/cloud/samples/client/group_invite/group_light_share.cpp b/cloud/samples/client/group_invite/group_light_share.cpp index 17aecff..2db2e7c 100644 --- a/cloud/samples/client/group_invite/group_light_share.cpp +++ b/cloud/samples/client/group_invite/group_light_share.cpp @@ -99,7 +99,6 @@ private: if (requestType == "GET") { cout << "\t\t\trequestType : GET\n"; - pResponse->setErrorCode(200); pResponse->setResponseResult(OC_EH_OK); pResponse->setResourceRepresentation(get()); if (OC_STACK_OK == OCPlatform::sendResponse(pResponse)) @@ -116,7 +115,6 @@ private: // Do related operations related to POST request OCRepresentation rep_post = post(rep); pResponse->setResourceRepresentation(rep_post); - pResponse->setErrorCode(200); if (OC_STACK_OK == OCPlatform::sendResponse(pResponse)) {