aboutsummaryrefslogtreecommitdiff
path: root/gdb/event-loop.c
diff options
context:
space:
mode:
authorJason Molenda <jmolenda@apple.com>1999-06-14 18:08:47 +0000
committerJason Molenda <jmolenda@apple.com>1999-06-14 18:08:47 +0000
commit0f71a2f66f83f4c7ac139fa8d33ab882362fe861 (patch)
tree16074aaf8b9c3abda2ddf840b5b307c933298a75 /gdb/event-loop.c
parent308b1ffdedc0380e17d84260b0069593eb4f9336 (diff)
downloadfsf-binutils-gdb-0f71a2f66f83f4c7ac139fa8d33ab882362fe861.zip
fsf-binutils-gdb-0f71a2f66f83f4c7ac139fa8d33ab882362fe861.tar.gz
fsf-binutils-gdb-0f71a2f66f83f4c7ac139fa8d33ab882362fe861.tar.bz2
import gdb-1999-06-14 snapshot
Diffstat (limited to 'gdb/event-loop.c')
-rw-r--r--gdb/event-loop.c3
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;