diff options
Diffstat (limited to 'gdb/event-loop.c')
-rw-r--r-- | gdb/event-loop.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/event-loop.c b/gdb/event-loop.c index 2693034..77f46bb 100644 --- a/gdb/event-loop.c +++ b/gdb/event-loop.c @@ -531,7 +531,8 @@ gdb_wait_for_event () { file_handler *file_ptr; gdb_event *file_event_ptr; - int num_found, i; + int num_found = 0; + int i; #ifndef HAVE_POLL int mask, bit, index; |