diff options
author | Mark Salyzyn <salyzyn@google.com> | 2014-04-30 09:24:08 -0700 |
---|---|---|
committer | Mark Salyzyn <salyzyn@google.com> | 2014-05-02 14:16:00 -0700 |
commit | f1a8dfa0ebfc233e569ffa83e21e37d0a829b94c (patch) | |
tree | e57f143597aef4df6238de5b46006da6b142b4fe /debuggerd/arm64 | |
parent | b149e245c8ccd90b52227f3d07ab572080afac53 (diff) | |
download | system_core-f1a8dfa0ebfc233e569ffa83e21e37d0a829b94c.zip system_core-f1a8dfa0ebfc233e569ffa83e21e37d0a829b94c.tar.gz system_core-f1a8dfa0ebfc233e569ffa83e21e37d0a829b94c.tar.bz2 |
debuggerd: turn on -Werror
- Deal with some -Wunused / -Wunused-variable issues
Change-Id: I39849fe30170f69d1cab7d4ad2629b3a49e14ee7
Diffstat (limited to 'debuggerd/arm64')
-rw-r--r-- | debuggerd/arm64/machine.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/debuggerd/arm64/machine.cpp b/debuggerd/arm64/machine.cpp index 7159228..2413d5e 100644 --- a/debuggerd/arm64/machine.cpp +++ b/debuggerd/arm64/machine.cpp @@ -82,8 +82,6 @@ void dump_registers(log_t* log, pid_t tid, int scope_flags) io.iov_base = &r; io.iov_len = sizeof(r); - bool only_in_tombstone = !IS_AT_FAULT(scope_flags); - if (ptrace(PTRACE_GETREGSET, tid, (void*) NT_PRSTATUS, (void*) &io) == -1) { _LOG(log, scope_flags, "ptrace error: %s\n", strerror(errno)); return; |