mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-24 18:44:20 +08:00
* hw-events.c (hw_event_queue_schedule): Initialize `dummy'.
This commit is contained in:
parent
57af9c8bc0
commit
2796179517
@ -1,5 +1,7 @@
|
||||
2002-06-17 Andrew Cagney <cagney@redhat.com>
|
||||
|
||||
* hw-events.c (hw_event_queue_schedule): Initialize `dummy'.
|
||||
|
||||
* sim-memopt.c: Include <unistd.h>.
|
||||
(do_memopt_add): Fix printf format.
|
||||
* sim-events.c (sim_events_schedule): Initialize ``dummy''.
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user