This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Remove unused var in cp/init.c
- From: Andreas Jaeger <aj at suse dot de>
- To: gcc-patches at gcc dot gnu dot org
- Date: Mon, 20 May 2002 16:27:41 +0200
- Subject: Remove unused var in cp/init.c
I've committed the appended patch after bootstrap/regtesting on
i686-linux-gnu as obvious.
Andreas
2002-05-19 Andreas Jaeger <aj@suse.de>
* init.c (build_default_init): Remove unused variable.
============================================================
Index: gcc/cp/init.c
--- cp/init.c 19 May 2002 05:15:11 -0000 1.279
+++ cp/init.c 19 May 2002 17:13:49 -0000
@@ -213,8 +213,6 @@ static tree
build_default_init (type)
tree type;
{
- tree init = NULL_TREE;
-
if (TYPE_NEEDS_CONSTRUCTING (type))
/* Other code will handle running the default constructor. We can't do
anything with a CONSTRUCTOR for arrays here, as that would imply
--
Andreas Jaeger
SuSE Labs aj@suse.de
private aj@arthur.inka.de
http://www.suse.de/~aj