From bf962092548917d88b7a4368dbb36977777836da Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Mon, 17 Jun 2002 21:45:55 +0000 Subject: * sim-memopt.c: Include . (do_memopt_add): Fix printf format. * sim-events.c (sim_events_schedule): Initialize ``dummy''. --- sim/common/sim-events.c | 1 + 1 file changed, 1 insertion(+) (limited to 'sim/common/sim-events.c') diff --git a/sim/common/sim-events.c b/sim/common/sim-events.c index 22531e3..6cd75ea 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); } -- cgit v1.1