Commit 9d5f3e49 by Richard Kenner

(type_lists_compatible_p): Initialize NEWVAL.

(pop_init_level): Initialize SIZE.
(output_pending_init_elements): Initialize NEXTPOS_TREE.

From-SVN: r6639
parent 1c7b145e
...@@ -559,7 +559,7 @@ type_lists_compatible_p (args1, args2) ...@@ -559,7 +559,7 @@ type_lists_compatible_p (args1, args2)
{ {
/* 1 if no need for warning yet, 2 if warning cause has been seen. */ /* 1 if no need for warning yet, 2 if warning cause has been seen. */
int val = 1; int val = 1;
int newval; int newval = 0;
while (1) while (1)
{ {
...@@ -5241,7 +5241,7 @@ pop_init_level (implicit) ...@@ -5241,7 +5241,7 @@ pop_init_level (implicit)
int implicit; int implicit;
{ {
struct constructor_stack *p; struct constructor_stack *p;
int size; int size = 0;
tree constructor = 0; tree constructor = 0;
if (implicit == 0) if (implicit == 0)
...@@ -5775,7 +5775,7 @@ output_pending_init_elements (all) ...@@ -5775,7 +5775,7 @@ output_pending_init_elements (all)
if (constructor_incremental) if (constructor_incremental)
{ {
tree filled; tree filled;
tree nextpos_tree; tree nextpos_tree = size_int (0);
if (TREE_CODE (constructor_type) == RECORD_TYPE if (TREE_CODE (constructor_type) == RECORD_TYPE
|| TREE_CODE (constructor_type) == UNION_TYPE) || TREE_CODE (constructor_type) == UNION_TYPE)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment