aboutsummaryrefslogtreecommitdiff
path: root/sim/common/hw-events.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2002-06-17 23:53:45 +0000
committerAndrew Cagney <cagney@redhat.com>2002-06-17 23:53:45 +0000
commit27961795177ef483c8015d254b5ecbd58b2bf318 (patch)
treec75f1076d05907ffa027a71cd02cf9b884a40985 /sim/common/hw-events.c
parent57af9c8bc0f5254f4d729109ced8744d10b14c1a (diff)
downloadgdb-27961795177ef483c8015d254b5ecbd58b2bf318.zip
gdb-27961795177ef483c8015d254b5ecbd58b2bf318.tar.gz
gdb-27961795177ef483c8015d254b5ecbd58b2bf318.tar.bz2
* hw-events.c (hw_event_queue_schedule): Initialize `dummy'.
Diffstat (limited to 'sim/common/hw-events.c')
-rw-r--r--sim/common/hw-events.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sim/common/hw-events.c b/sim/common/hw-events.c
index 243a7aa..78cceb6 100644
--- a/sim/common/hw-events.c
+++ b/sim/common/hw-events.c
@@ -88,6 +88,7 @@ hw_event_queue_schedule (struct hw *me,
{
struct hw_event *event;
va_list dummy;
+ memset (&dummy, 0, sizeof dummy);
event = hw_event_queue_schedule_vtracef (me, delta_time, callback, data,
NULL, dummy);
return event;