OSDN Git Service

Silence unused variable warning in sys_ptrace_test
authorPavel Labath <labath@google.com>
Fri, 27 Jan 2017 13:04:26 +0000 (13:04 +0000)
committerPavel 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

index bee43ab..7483754 100644 (file)
@@ -279,6 +279,7 @@ static void set_breakpoint(pid_t child) {
       << strerror(errno);
 #else
   (void)child;
+  (void)address;
 #endif
 }