]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* call.c (resolve_args): Remove redundant test.
authorVolker Reichelt <reichelt@igpm.rwth-aachen.de>
Thu, 6 Oct 2005 14:07:03 +0000 (14:07 +0000)
committerVolker Reichelt <reichelt@gcc.gnu.org>
Thu, 6 Oct 2005 14:07:03 +0000 (14:07 +0000)
From-SVN: r105035

gcc/cp/ChangeLog
gcc/cp/call.c

index 0d4d3093146ac36510b8529b3b9ddf5b4400956b..ef4a00b8ec9f3ca844907bb6b6c51937f71ff17c 100644 (file)
@@ -1,3 +1,7 @@
+2005-10-06  Volker Reichelt  <reichelt@igpm.rwth-aachen.de>
+
+       * call.c (resolve_args): Remove redundant test.
+
 2005-09-21  Volker Reichelt  <reichelt@igpm.rwth-aachen.de>
 
        PR c++/23965
index ff3f3967ab08e807470448f9c9621c89fc88cf92..01c8926b07629a0a337f7edf0f57d98697413598 100644 (file)
@@ -2544,7 +2544,7 @@ resolve_args (tree args)
     {
       tree arg = TREE_VALUE (t);
       
-      if (arg == error_mark_node || error_operand_p (arg))
+      if (error_operand_p (arg))
        return error_mark_node;
       else if (VOID_TYPE_P (TREE_TYPE (arg)))
        {