summaryrefslogtreecommitdiff
path: root/libs/binder/RpcSession.cpp
diff options
context:
space:
mode:
author Steven Moreland <smoreland@google.com> 2021-10-25 15:31:31 -0700
committer Steven Moreland <smoreland@google.com> 2021-10-25 15:33:20 -0700
commitfc027e05377baae393d39cc30b8024ed7e8d45ea (patch)
tree0fc01f4697de3a67f12c8c34fa09f8a076b0b7e2 /libs/binder/RpcSession.cpp
parent51c44a96895b8c462e24984e510b09aded52297f (diff)
libbinder: RPC more nodiscard w/ fix
Another forgotten error. Bug: 167966510 Test: binderRpcTest Change-Id: I48adcf428c8ce68fdc5b49d7a0314d043e78e76d
Diffstat (limited to 'libs/binder/RpcSession.cpp')
-rw-r--r--libs/binder/RpcSession.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/libs/binder/RpcSession.cpp b/libs/binder/RpcSession.cpp
index 137411bc6b..53c9b78a7a 100644
--- a/libs/binder/RpcSession.cpp
+++ b/libs/binder/RpcSession.cpp
@@ -688,7 +688,8 @@ status_t RpcSession::addOutgoingConnection(std::unique_ptr<RpcTransport> rpcTran
status_t status = OK;
if (init) {
- mRpcBinderState->sendConnectionInit(connection, sp<RpcSession>::fromExisting(this));
+ status =
+ mRpcBinderState->sendConnectionInit(connection, sp<RpcSession>::fromExisting(this));
}
{