Skip to content

Commit 7ffb37c

Browse files
author
spikelin
committed
fix Windows build error
1 parent e398ffa commit 7ffb37c

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

sdk_src/services/rrpc/rrpc_client.c

100644100755
Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,6 @@ extern "C" {
2828

2929
static char sg_process_id_buffer[MAX_RRPC_PROCESS_ID_LEN + 1] = {0}; // process id buffer
3030

31-
/*static int _iot_construct_rrpc_json(void *client, char *jsonBuffer, size_t sizeOfBuffer, sRRPCReplyPara *replyPara)
32-
{
33-
return QCLOUD_RET_SUCCESS;
34-
}*/
35-
3631
static int _publish_rrpc_to_cloud(void *client, const char *processId, char *pJsonDoc)
3732
{
3833
IOT_FUNC_ENTRY;
@@ -169,13 +164,6 @@ int IOT_RRPC_Reply(void *pClient, char *pJsonDoc, size_t sizeOfBuffer, sRRPCRepl
169164
{
170165
int rc = QCLOUD_RET_SUCCESS;
171166

172-
// TODO:数据格式暂不确定
173-
/*rc = _iot_construct_rrpc_json(pClient, pJsonDoc, sizeOfBuffer, replyPara);
174-
if (rc != QCLOUD_RET_SUCCESS) {
175-
Log_e("construct rrpc json fail, %d", rc);
176-
return rc;
177-
}*/
178-
179167
rc = _publish_rrpc_to_cloud(pClient, sg_process_id_buffer, pJsonDoc);
180168
if (rc < 0) {
181169
Log_e("publish rrpc to cloud fail, %d", rc);

0 commit comments

Comments
 (0)