event-loop.c (gdb_wait_for_event): Move statement into if block.

This commit is contained in:
Michael Snyder 2007-08-16 14:51:22 +00:00
parent ea9c645141
commit dc66ab8ae2
2 changed files with 5 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2007-08-16 Michael Snyder <msnyder@access-company.com>
* event-loop.c (gdb_wait_for_event): Move statement into "if" block.
2007-08-15 Paul Hilfinger <hilfinger@adacore.com>
Joel Brobecker <brobecker@adacore.com>

View File

@ -825,10 +825,9 @@ gdb_wait_for_event (void)
file_event_ptr = create_file_event (file_ptr->fd);
async_queue_event (file_event_ptr, TAIL);
}
}
file_ptr->ready_mask = (gdb_notifier.poll_fds + i)->revents;
}
}
#else
internal_error (__FILE__, __LINE__,
_("use_poll without HAVE_POLL"));