cgraphunit.c (cgraph_decide_inlining): Fix uninitialized variable warning.
authorJan Hubicka <jh@suse.cz>
Sun, 12 Oct 2003 09:06:26 +0000 (11:06 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Sun, 12 Oct 2003 09:06:26 +0000 (09:06 +0000)
* cgraphunit.c (cgraph_decide_inlining): Fix uninitialized variable
warning.

From-SVN: r72391

gcc/ChangeLog
gcc/cgraphunit.c

index 87da21b57de82f908c1ed465894e0a4eb4d595ea..47f03e5871c75ba7aa2155c2a5858c37bf9af27c 100644 (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.
index 5f89a587463db7a0baa788b69c0c7240539010b7..7b85e77c226d09eb35c352467193af4a8595f725 100644 (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)