tree.c (replace_placeholders_t): Remove unused type.
authorMikhail Maltsev <maltsevm@gmail.com>
Wed, 15 Apr 2015 00:58:28 +0000 (00:58 +0000)
committerJason Merrill <jason@gcc.gnu.org>
Wed, 15 Apr 2015 00:58:28 +0000 (20:58 -0400)
* tree.c (replace_placeholders_t): Remove unused type.
(replace_placeholders): Remove unused pset.

From-SVN: r222110

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

index dbf6330da935311d51fadb4b8a5bb3542ec9b064..d91b6149c8c78e87e9606d34693cc72489eea3ed 100644 (file)
@@ -1,3 +1,8 @@
+2015-04-14  Mikhail Maltsev  <maltsevm@gmail.com>
+
+       * tree.c (replace_placeholders_t): Remove unused type.
+       (replace_placeholders): Remove unused pset.
+
 2015-04-14  Jason Merrill  <jason@redhat.com>
 
        * pt.c (lookup_template_class_1): Use coerce_innermost_template_parms.
index 71c84ae38ef7a09c76f5de40ee1ed3dac7050eab..9a4779f4a3c40321b8bf6c2b59a42cc103e6813a 100644 (file)
@@ -2473,12 +2473,6 @@ build_ctor_subob_ref (tree index, tree type, tree obj)
 /* Like substitute_placeholder_in_expr, but handle C++ tree codes and
    build up subexpressions as we go deeper.  */
 
-struct replace_placeholders_t
-{
-  tree obj;
-  hash_set<tree> *pset;
-};
-
 static tree
 replace_placeholders_r (tree* t, int* walk_subtrees, void* data_)
 {
@@ -2539,7 +2533,6 @@ replace_placeholders_r (tree* t, int* walk_subtrees, void* data_)
 tree
 replace_placeholders (tree exp, tree obj)
 {
-  hash_set<tree> pset;
   tree *tp = &exp;
   if (TREE_CODE (exp) == TARGET_EXPR)
     tp = &TARGET_EXPR_INITIAL (exp);