aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Mitchell <mmitchel@gcc.gnu.org>2003-03-06 22:55:42 +0000
committerMark Mitchell <mmitchel@gcc.gnu.org>2003-03-06 22:55:42 +0000
commitd1867128b29a772691b9d5909558cf8f478cb531 (patch)
treefdba94e635a19f20c8fc6869079b857b7cec70af
parent5e2569964b62e695056d601d225589ba01348ff8 (diff)
downloadgcc-d1867128b29a772691b9d5909558cf8f478cb531.zip
gcc-d1867128b29a772691b9d5909558cf8f478cb531.tar.gz
gcc-d1867128b29a772691b9d5909558cf8f478cb531.tar.bz2
Fix typo in previous patch
From-SVN: r63912
-rw-r--r--gcc/cp/call.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/cp/call.c b/gcc/cp/call.c
index 45cb23b..c5fd77b 100644
--- a/gcc/cp/call.c
+++ b/gcc/cp/call.c
@@ -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;