* search.c (get_pure_virtuals): Remove unused variables.
authorNathan Sidwell <nathan@codesourcery.com>
Wed, 15 Sep 2004 11:01:46 +0000 (11:01 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Wed, 15 Sep 2004 11:01:46 +0000 (11:01 +0000)
From-SVN: r87542

gcc/cp/ChangeLog
gcc/cp/search.c

index a2bdd496aaeed42f0ce5cf992374e0a7749b93d7..f886a1e022721b3c0b52416397fe430507d3b3b2 100644 (file)
@@ -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.
index 99a945352e1f96ea7971df5a730053d127e7187c..f547e6c8ee7aeaa229db72b237af7a7bc588e96a 100644 (file)
@@ -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;