未验证 提交 65baa452 编写于 作者: Z zhangxiujian 提交者: Gitee

【master->master】IPC codex clean

Signed-off-by: Nzhangxiujian <zhangxiujian@huawei.com>
上级 9971a10b
......@@ -319,10 +319,9 @@ int32_t ProcessAddDeathRecipient(int32_t handle, OnRemoteDead deathFunc, void *a
if (firstDeathNode) {
RPC_LOG_ERROR("first add death callback for handle = %d.", handle);
RemoteInvoker *invoker = GetRemoteInvoker();
ret = ERR_INVALID_PARAM;
if (invoker != NULL) {
ret = (invoker->AddDeathRecipient)(handle, node);
} else {
return ERR_INVALID_PARAM;
}
}
return ret;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册