OSDN Git Service

Fix typo in previous patch
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 6 Mar 2003 22:55:42 +0000 (22:55 +0000)
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 6 Mar 2003 22:55:42 +0000 (22:55 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@63912 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/cp/call.c

index 45cb23b..c5fd77b 100644 (file)
@@ -5848,7 +5848,6 @@ tree
 initialize_reference (tree type, tree expr, tree decl)
 {
   tree conv;
-  bool ref_bound_directly_to_rvalue_p = false;
 
   if (type == error_mark_node || error_operand_p (expr))
     return error_mark_node;
@@ -5877,7 +5876,7 @@ initialize_reference (tree type, tree expr, tree decl)
      In that case, we store the converted expression into a new
      VAR_DECL in a new scope.  */
   my_friendly_assert (TREE_CODE (conv) == REF_BIND, 20030302);
-  if (decl && (NEED_TEMPORARY_P (conv) || ref_bound_directly_to_rvalue_p))
+  if (decl && NEED_TEMPORARY_P (conv))
     {
       tree var;