summaryrefslogtreecommitdiff
path: root/libs/binder/Debug.cpp
diff options
context:
space:
mode:
author Colin Cross <ccross@android.com> 2014-02-05 17:42:44 -0800
committer Colin Cross <ccross@android.com> 2014-02-05 17:51:10 -0800
commit6f4f3ab36c5ed1df84eb3a9f7475f0ac42952f58 (patch)
tree9ab9e8430032dbe04e7f8e70fcea0f5872fb9ae2 /libs/binder/Debug.cpp
parent055dac1b54af46a0608b32e83fcae45e75a4a8f0 (diff)
binder: fix all warnings
Fix warnings related to casting pointers to ints, using %d or %ld to print size_t/ssize_t, and unused parameters. Change-Id: I7a13ba83d402952989c1f795cd9e880a95b98d9e
Diffstat (limited to 'libs/binder/Debug.cpp')
-rw-r--r--libs/binder/Debug.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/binder/Debug.cpp b/libs/binder/Debug.cpp
index a8b6e837b4..0ffafbbeb4 100644
--- a/libs/binder/Debug.cpp
+++ b/libs/binder/Debug.cpp
@@ -38,7 +38,7 @@ const char* stringForIndent(int32_t indentLevel)
// ---------------------------------------------------------------------
-static void defaultPrintFunc(void* cookie, const char* txt)
+static void defaultPrintFunc(void* /*cookie*/, const char* txt)
{
printf("%s", txt);
}