* hw-events.c (hw_event_queue_schedule): Initialize `dummy'.
authorAndrew Cagney <cagney@redhat.com>
Mon, 17 Jun 2002 23:53:45 +0000 (23:53 +0000)
committerAndrew Cagney <cagney@redhat.com>
Mon, 17 Jun 2002 23:53:45 +0000 (23:53 +0000)
sim/common/ChangeLog
sim/common/hw-events.c

index b7e13e3c55f2f2dd001473d0f40abcbf35831e9b..84db79348ed50557641b7e6749ffa7ce0583c86c 100644 (file)
@@ -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''.
index 243a7aae712860273b952d30785739881e4d0a43..78cceb66d91104bf19e134a0cd52296bbe154f13 100644 (file)
@@ -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;