* commit '5820a99f3f843d718e80bc34bc4879144cce1efe':
  Fix build
This commit is contained in:
Jean-Baptiste Queru 2012-05-17 17:17:54 -07:00 committed by Android Git Automerger
commit 3449836bc5

View file

@ -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) {