OSDN Git Service

(type_lists_compatible_p): Initialize NEWVAL.
authorkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 27 Feb 1994 15:44:32 +0000 (15:44 +0000)
committerkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 27 Feb 1994 15:44:32 +0000 (15:44 +0000)
(pop_init_level): Initialize SIZE.
(output_pending_init_elements): Initialize NEXTPOS_TREE.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6639 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/c-typeck.c

index 0217382..b233385 100644 (file)
@@ -559,7 +559,7 @@ type_lists_compatible_p (args1, args2)
 {
   /* 1 if no need for warning yet, 2 if warning cause has been seen.  */
   int val = 1;
-  int newval;
+  int newval = 0;
 
   while (1)
     {
@@ -5241,7 +5241,7 @@ pop_init_level (implicit)
      int implicit;
 {
   struct constructor_stack *p;
-  int size;
+  int size = 0;
   tree constructor = 0;
 
   if (implicit == 0)
@@ -5775,7 +5775,7 @@ output_pending_init_elements (all)
   if (constructor_incremental)
     {
       tree filled;
-      tree nextpos_tree;
+      tree nextpos_tree = size_int (0);
 
       if (TREE_CODE (constructor_type) == RECORD_TYPE
          || TREE_CODE (constructor_type) == UNION_TYPE)