aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/cp/ChangeLog2
-rw-r--r--gcc/cp/search.c4
2 files changed, 2 insertions, 4 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index a2bdd49..f886a1e 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,5 +1,7 @@
2004-09-15 Nathan Sidwell <nathan@codesourcery.com>
+ * search.c (get_pure_virtuals): Remove unused variables.
+
* cp-tree.h (struct lang_decl_flags): Remove
needs_final_overrider.
(DECL_NEEDS_FINAL_OVERRIDER_P): Remove.
diff --git a/gcc/cp/search.c b/gcc/cp/search.c
index 99a9453..f547e6c 100644
--- a/gcc/cp/search.c
+++ b/gcc/cp/search.c
@@ -1890,10 +1890,6 @@ dfs_get_pure_virtuals (tree binfo, void *data)
void
get_pure_virtuals (tree type)
{
- unsigned ix;
- tree binfo;
- VEC (tree) *vbases;
-
/* Clear the CLASSTYPE_PURE_VIRTUALS list; whatever is already there
is going to be overridden. */
CLASSTYPE_PURE_VIRTUALS (type) = NULL_TREE;