cgraphunit.c (cgraph_decide_inlining): Fix uninitialized variable warning.

* cgraphunit.c (cgraph_decide_inlining): Fix uninitialized variable
	warning.

From-SVN: r72391
This commit is contained in:
Jan Hubicka 2003-10-12 11:06:26 +02:00 committed by Jan Hubicka
parent 02e02343f4
commit de006bbd18
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2003-10-12 Jan Hubicka <jh@suse.cz>
* cgraphunit.c (cgraph_decide_inlining): Fix uninitialized variable
warning.
2003-10-12 Danny Smith <dannysmith@users.sourceforge.net>
* config/i386/i386.c (x86_this_parameter): Fix typo.

View File

@ -1080,7 +1080,7 @@ cgraph_decide_inlining (void)
xcalloc (cgraph_n_nodes, sizeof (struct cgraph_node *));
int ninlined;
int ninlined_callees;
int old_insns;
int old_insns = 0;
int i, y;
for (node = cgraph_nodes; node; node = node->next)