From 372d60f07a9ad83e12604c092b68790951e192d1 Mon Sep 17 00:00:00 2001 From: dengyutao Date: Wed, 21 Jun 2023 06:39:16 +0000 Subject: [PATCH] =?UTF-8?q?update=20ipc/native/src/mock/source/dbinder=5Fd?= =?UTF-8?q?atabus=5Finvoker.cpp.=20ipc=20=E4=BB=A3=E7=A0=81=E8=A7=84?= =?UTF-8?q?=E8=8C=83=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: dengyutao --- ipc/native/src/mock/source/dbinder_databus_invoker.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/ipc/native/src/mock/source/dbinder_databus_invoker.cpp b/ipc/native/src/mock/source/dbinder_databus_invoker.cpp index ffc73af..3eaeeb1 100644 --- a/ipc/native/src/mock/source/dbinder_databus_invoker.cpp +++ b/ipc/native/src/mock/source/dbinder_databus_invoker.cpp @@ -89,7 +89,8 @@ std::shared_ptr DBinderDatabusInvoker::NewSessionOfBinderP return nullptr; } - MessageParcel data, reply; + MessageParcel data; + MessageParcel reply; if (!data.WriteUint32(IRemoteObject::DATABUS_TYPE) || !data.WriteString(current->GetLocalDeviceID()) || !data.WriteUint32(session->GetPeerPid()) || !data.WriteUint32(session->GetPeerUid()) || !data.WriteString(session->GetPeerDeviceId()) || !data.WriteString(sessionName) || @@ -136,7 +137,8 @@ bool DBinderDatabusInvoker::AuthSession2Proxy(uint32_t handle, return false; } - MessageParcel data, reply; + MessageParcel data; + MessageParcel reply; MessageOption option; if (!data.WriteUint32(session->GetPeerPid()) || !data.WriteUint32(session->GetPeerUid()) || -- GitLab