From dc66ab8ae22c93bb0819aee056d5ea1f782dcd4e Mon Sep 17 00:00:00 2001 From: Michael Snyder Date: Thu, 16 Aug 2007 14:51:22 +0000 Subject: [PATCH] event-loop.c (gdb_wait_for_event): Move statement into if block. --- gdb/ChangeLog | 4 ++++ gdb/event-loop.c | 3 +-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 9869828da39..43428c13517 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2007-08-16 Michael Snyder + + * event-loop.c (gdb_wait_for_event): Move statement into "if" block. + 2007-08-15 Paul Hilfinger Joel Brobecker diff --git a/gdb/event-loop.c b/gdb/event-loop.c index 2c71de34999..e28de9a39d9 100644 --- a/gdb/event-loop.c +++ b/gdb/event-loop.c @@ -825,9 +825,8 @@ 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; } - - file_ptr->ready_mask = (gdb_notifier.poll_fds + i)->revents; } #else internal_error (__FILE__, __LINE__, -- 2.30.2