From 9d5f3e49d71adacf454eb0ab55a13bdced3674a0 Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Sun, 27 Feb 1994 10:44:32 -0500 Subject: [PATCH] (type_lists_compatible_p): Initialize NEWVAL. (pop_init_level): Initialize SIZE. (output_pending_init_elements): Initialize NEXTPOS_TREE. From-SVN: r6639 --- gcc/c-typeck.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gcc/c-typeck.c b/gcc/c-typeck.c index 0217382aea6..b23338583be 100644 --- a/gcc/c-typeck.c +++ b/gcc/c-typeck.c @@ -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) -- 2.30.2