diff options
author | Nathan Sidwell <nathan@codesourcery.com> | 2004-09-15 11:01:46 +0000 |
---|---|---|
committer | Nathan Sidwell <nathan@gcc.gnu.org> | 2004-09-15 11:01:46 +0000 |
commit | 69862840f83766fea2fd4e55d1e2c4cb7ffaa424 (patch) | |
tree | c49f030489fa46533f6c9543487ba02f10974840 /gcc/cp | |
parent | 16ae29f1e617a0d0cc43d59b3082faf54bc436bb (diff) | |
download | gcc-69862840f83766fea2fd4e55d1e2c4cb7ffaa424.zip gcc-69862840f83766fea2fd4e55d1e2c4cb7ffaa424.tar.gz gcc-69862840f83766fea2fd4e55d1e2c4cb7ffaa424.tar.bz2 |
* search.c (get_pure_virtuals): Remove unused variables.
From-SVN: r87542
Diffstat (limited to 'gcc/cp')
-rw-r--r-- | gcc/cp/ChangeLog | 2 | ||||
-rw-r--r-- | gcc/cp/search.c | 4 |
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; |