This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]