OSDN Git Service
(root)
/
android-x86
/
bionic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3f62787
)
Silence unused variable warning in sys_ptrace_test
author
Pavel Labath
<labath@google.com>
Fri, 27 Jan 2017 13:04:26 +0000
(13:04 +0000)
committer
Pavel Labath
<labath@google.com>
Fri, 27 Jan 2017 13:06:22 +0000
(13:06 +0000)
This fixes the mips build broken by
I7d8a7d79585477d78da1f033c85f8d2cc3b34340.
Change-Id: Ib960bdb51ac81be068f1fdf702aa7c10b183f2a0
Test: lunch mips && cd bionic && mma
tests/sys_ptrace_test.cpp
patch
|
blob
|
history
diff --git
a/tests/sys_ptrace_test.cpp
b/tests/sys_ptrace_test.cpp
index
bee43ab
..
7483754
100644
(file)
--- a/
tests/sys_ptrace_test.cpp
+++ b/
tests/sys_ptrace_test.cpp
@@
-279,6
+279,7
@@
static void set_breakpoint(pid_t child) {
<< strerror(errno);
#else
(void)child;
+ (void)address;
#endif
}