mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-18 12:24:38 +08:00
Mon Mar 17 10:54:47 1997 David Mosberger-Tang <davidm@azstarnet.com>
* cg_arcs.c (arc_add): memset() newly alloced arc to ensure all fields are initialized with 0.
This commit is contained in:
parent
a77aa7ec4b
commit
7dc37d80ff
@ -1,3 +1,8 @@
|
||||
Mon Mar 17 10:54:47 1997 David Mosberger-Tang <davidm@azstarnet.com>
|
||||
|
||||
* cg_arcs.c (arc_add): memset() newly alloced arc to ensure
|
||||
all fields are initialized with 0.
|
||||
|
||||
Sat Mar 15 19:17:31 1997 H.J. Lu <hjl@lucon.org>
|
||||
|
||||
* symtab.h (find_call): Declare.
|
||||
|
@ -84,6 +84,7 @@ DEFUN (arc_add, (parent, child, count),
|
||||
return;
|
||||
}
|
||||
arc = (Arc *) xmalloc (sizeof (*arc));
|
||||
memset (arc, 0, sizeof (*arc));
|
||||
arc->parent = parent;
|
||||
arc->child = child;
|
||||
arc->count = count;
|
||||
|
Loading…
Reference in New Issue
Block a user