summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Yifan Hong <elsk@google.com> 2021-06-24 15:50:12 -0700
committer Yifan Hong <elsk@google.com> 2021-06-24 15:50:21 -0700
commit6fe1963236f04ba94b4304f17e194ca54984aef0 (patch)
treec9de656b20b7d3bfbbbaec155116bff6768e88ec
parentf2acc8dc6149e11fbf63e92977b7451417c66be3 (diff)
RpcServer: Don't shadow local var
Test: pass Change-Id: Ied32f20b186f64fedfc22adf7a9038221405dce0
-rw-r--r--libs/binder/RpcServer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/binder/RpcServer.cpp b/libs/binder/RpcServer.cpp
index a8f3fa8f6f..2a87ae4298 100644
--- a/libs/binder/RpcServer.cpp
+++ b/libs/binder/RpcServer.cpp
@@ -278,7 +278,7 @@ void RpcServer::establishConnection(sp<RpcServer>&& server, base::unique_fd clie
return;
}
- RpcAddress sessionId = RpcAddress::zero();
+ sessionId = RpcAddress::zero();
size_t tries = 0;
do {
// don't block if there is some entropy issue