From f57da19541988872888c086d5763b1d7fd29d609 Mon Sep 17 00:00:00 2001 From: "jihwan.seo" Date: Tue, 25 Oct 2016 18:40:33 +0900 Subject: [PATCH] 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 --- cloud/samples/client/group_invite/group_light_share.cpp | 2 -- 1 file changed, 2 deletions(-) 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)) { -- 2.7.4