From: Mikhail Maltsev Date: Wed, 15 Apr 2015 00:58:28 +0000 (+0000) Subject: tree.c (replace_placeholders_t): Remove unused type. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=182d115c19b636d1c33ebb905029853fc68e99da;p=gcc.git tree.c (replace_placeholders_t): Remove unused type. * tree.c (replace_placeholders_t): Remove unused type. (replace_placeholders): Remove unused pset. From-SVN: r222110 --- diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index dbf6330da93..d91b6149c8c 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,8 @@ +2015-04-14 Mikhail Maltsev + + * tree.c (replace_placeholders_t): Remove unused type. + (replace_placeholders): Remove unused pset. + 2015-04-14 Jason Merrill * pt.c (lookup_template_class_1): Use coerce_innermost_template_parms. diff --git a/gcc/cp/tree.c b/gcc/cp/tree.c index 71c84ae38ef..9a4779f4a3c 100644 --- a/gcc/cp/tree.c +++ b/gcc/cp/tree.c @@ -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 *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 pset; tree *tp = &exp; if (TREE_CODE (exp) == TARGET_EXPR) tp = &TARGET_EXPR_INITIAL (exp);