diff --git a/ipc/native/test/unittest/common/ipc_object_stub_unittest.cpp b/ipc/native/test/unittest/common/ipc_object_stub_unittest.cpp index 7b46641ca877f9259a51e48238ca3ce498caf044..c57e4370b8193d5a1884540306fcf3c57705f465 100644 --- a/ipc/native/test/unittest/common/ipc_object_stub_unittest.cpp +++ b/ipc/native/test/unittest/common/ipc_object_stub_unittest.cpp @@ -423,7 +423,6 @@ HWTEST_F(IPCObjectStubTest, SendRequestTest016, TestSize.Level1) EXPECT_CALL(*invoker, GetCallerUid()) .WillRepeatedly(testing::Return(ALLOWED_UID - 1)); - int result = testStub->SendRequest(code, data, reply, option); EXPECT_NE(result, IPC_STUB_INVALID_DATA_ERR); current->invokers_.clear();