aboutsummaryrefslogtreecommitdiffstats
path: root/debuggerd
diff options
context:
space:
mode:
authorJean-Baptiste Queru <jbq@google.com>2012-05-16 16:56:57 -0700
committerJean-Baptiste Queru <jbq@google.com>2012-05-16 16:56:57 -0700
commit5820a99f3f843d718e80bc34bc4879144cce1efe (patch)
tree14c6836df48f45800852083ddbf7bfc6c7352ba4 /debuggerd
parentbbea14468edef1b00355478ed094031e70479263 (diff)
downloadsystem_core-5820a99f3f843d718e80bc34bc4879144cce1efe.tar.gz
system_core-5820a99f3f843d718e80bc34bc4879144cce1efe.tar.bz2
system_core-5820a99f3f843d718e80bc34bc4879144cce1efe.zip
Fix build
Change-Id: Ie2af6aab7e236c31bb7a607659813218ef9c5400
Diffstat (limited to 'debuggerd')
-rw-r--r--debuggerd/utility.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/debuggerd/utility.c b/debuggerd/utility.c
index 2ccf947e..8eb52ba2 100644
--- a/debuggerd/utility.c
+++ b/debuggerd/utility.c
@@ -267,13 +267,11 @@ void dump_nearby_maps(const ptrace_context_t* context, int tfd, pid_t tid) {
* Search for a match, or for a hole where the match would be. The list
* is backward from the file content, so it starts at high addresses.
*/
- bool found = false;
map_info_t* map = context->map_info_list;
map_info_t *next = NULL;
map_info_t *prev = NULL;
while (map != NULL) {
if (addr >= map->start && addr < map->end) {
- found = true;
next = map->next;
break;
} else if (addr >= map->end) {