aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1994-02-27 10:44:32 -0500
committerRichard Kenner <kenner@gcc.gnu.org>1994-02-27 10:44:32 -0500
commit9d5f3e49d71adacf454eb0ab55a13bdced3674a0 (patch)
treefa0a8a262fc0caef72b743a03d7b8103ea6cb054 /gcc
parent1c7b145e25e57855b7c3d93828e27e75a4916e8f (diff)
downloadgcc-9d5f3e49d71adacf454eb0ab55a13bdced3674a0.zip
gcc-9d5f3e49d71adacf454eb0ab55a13bdced3674a0.tar.gz
gcc-9d5f3e49d71adacf454eb0ab55a13bdced3674a0.tar.bz2
(type_lists_compatible_p): Initialize NEWVAL.
(pop_init_level): Initialize SIZE. (output_pending_init_elements): Initialize NEXTPOS_TREE. From-SVN: r6639
Diffstat (limited to 'gcc')
-rw-r--r--gcc/c-typeck.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/c-typeck.c b/gcc/c-typeck.c
index 0217382..b233385 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)