OSDN Git Service

1999-08-26 Mark Mitchell <mark@codesourcery.com>
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 27 Aug 1999 00:51:55 +0000 (00:51 +0000)
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 27 Aug 1999 00:51:55 +0000 (00:51 +0000)
* tree.c (cplus_unsave_expr_now): Don't return a value.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28909 138bc75d-0d04-0410-961f-82ee72b054a4

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

index 08cdc33..1297ce5 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 83c79ee..0b62533 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;
 }