tree.c (cplus_unsave_expr_now): Don't return a value.
authorMark Mitchell <mark@codesourcery.com>
Fri, 27 Aug 1999 00:51:55 +0000 (00:51 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Fri, 27 Aug 1999 00:51:55 +0000 (00:51 +0000)
1999-08-26  Mark Mitchell  <mark@codesourcery.com>

* tree.c (cplus_unsave_expr_now): Don't return a value.

From-SVN: r28909

gcc/cp/ChangeLog
gcc/cp/tree.c

index 08cdc332a4ca4ec6fb57bec4f9a15306e4330129..1297ce51a698fc5ff5eecd416da0def56d77fef4 100644 (file)
@@ -1,5 +1,7 @@
 1999-08-26  Mark Mitchell  <mark@codesourcery.com>
 
+       * tree.c (cplus_unsave_expr_now): Don't return a value.
+
        * semantics.c (do_poplevel): Always initialize the return value.
 
 1999-08-26  Gavin Romig-Koch  <gavin@cygnus.com>
index 83c79ee337732398b29e5b2640e2a0a3d90bdc3c..0b625335702f4543a16a48266d3b4b3a9275f2dc 100644 (file)
@@ -2871,7 +2871,7 @@ cplus_unsave_expr_now (expr)
      tree expr;
 {
   if (expr == NULL)
-    return expr;
+    return;
 
   else if (TREE_CODE (expr) == AGGR_INIT_EXPR)
     {
@@ -2887,10 +2887,10 @@ cplus_unsave_expr_now (expr)
            }
        }
       unsave_expr_now (TREE_OPERAND (expr,2));
-      return expr;
+      return;
     }
 
   else
-    return expr;
+    return;
 }