summaryrefslogtreecommitdiff
path: root/libs/binder/BpBinder.cpp
diff options
context:
space:
mode:
author Colin Cross <ccross@android.com> 2014-02-06 02:06:42 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2014-02-06 02:06:42 +0000
commit74be0f7be35e7b40a322fa9a407cb49265333a0b (patch)
tree9ab9e8430032dbe04e7f8e70fcea0f5872fb9ae2 /libs/binder/BpBinder.cpp
parent055dac1b54af46a0608b32e83fcae45e75a4a8f0 (diff)
parent6f4f3ab36c5ed1df84eb3a9f7475f0ac42952f58 (diff)
Merge "binder: fix all warnings"
Diffstat (limited to 'libs/binder/BpBinder.cpp')
-rw-r--r--libs/binder/BpBinder.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/binder/BpBinder.cpp b/libs/binder/BpBinder.cpp
index 47a62db41d..1bad67af23 100644
--- a/libs/binder/BpBinder.cpp
+++ b/libs/binder/BpBinder.cpp
@@ -343,7 +343,7 @@ void BpBinder::onFirstRef()
if (ipc) ipc->incStrongHandle(mHandle);
}
-void BpBinder::onLastStrongRef(const void* id)
+void BpBinder::onLastStrongRef(const void* /*id*/)
{
ALOGV("onLastStrongRef BpBinder %p handle %d\n", this, mHandle);
IF_ALOGV() {
@@ -353,7 +353,7 @@ void BpBinder::onLastStrongRef(const void* id)
if (ipc) ipc->decStrongHandle(mHandle);
}
-bool BpBinder::onIncStrongAttempted(uint32_t flags, const void* id)
+bool BpBinder::onIncStrongAttempted(uint32_t /*flags*/, const void* /*id*/)
{
ALOGV("onIncStrongAttempted BpBinder %p handle %d\n", this, mHandle);
IPCThreadState* ipc = IPCThreadState::self();