From 35c2427f4ac43caf368b8cc7b02f78b977886329 Mon Sep 17 00:00:00 2001 From: Giovanni Bajo Date: Tue, 21 Sep 2004 21:23:05 +0000 Subject: [PATCH] * decl.c (reshape_init): Remove unused variable. From-SVN: r87824 --- gcc/cp/ChangeLog | 4 ++++ gcc/cp/decl.c | 1 - 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index c414de872f2f..4625279ac1ce 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,7 @@ +2004-09-21 Giovanni Bajo + + * decl.c (reshape_init): Remove unused variable. + 2004-09-21 Giovanni Bajo PR c++/14179 diff --git a/gcc/cp/decl.c b/gcc/cp/decl.c index c2a4a86a152d..c825a4478bce 100644 --- a/gcc/cp/decl.c +++ b/gcc/cp/decl.c @@ -8441,7 +8441,6 @@ reshape_init (tree type, tree *initp) } else if ((TREE_CODE (type) == ARRAY_TYPE)|| (TREE_CODE (type) == VECTOR_TYPE)) { - tree index; tree max_index; /* If the bound of the array is known, take no more initializers -- 2.47.2