summaryrefslogtreecommitdiff
path: root/sim/common/sim-events.c
diff options
context:
space:
mode:
Diffstat (limited to 'sim/common/sim-events.c')
-rw-r--r--sim/common/sim-events.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sim/common/sim-events.c b/sim/common/sim-events.c
index 22531e3ece2..6cd75eaf509 100644
--- a/sim/common/sim-events.c
+++ b/sim/common/sim-events.c
@@ -481,6 +481,7 @@ sim_events_schedule (SIM_DESC sd,
void *data)
{
va_list dummy;
+ memset (&dummy, 0, sizeof dummy);
return sim_events_schedule_vtracef (sd, delta_time, handler, data,
NULL, dummy);
}