diff options
author | Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | 2002-10-09 21:08:42 +0000 |
---|---|---|
committer | Kaveh Ghazi <ghazi@gcc.gnu.org> | 2002-10-09 21:08:42 +0000 |
commit | 10a38dba685e4c5fe4902bbac5d85bb86326e87f (patch) | |
tree | 60dcba749509da810001bef2e9051d526876c3c0 /gcc/cp | |
parent | b4d8dbcfa1342d9e2be07281acee5d483c4c550e (diff) | |
download | gcc-10a38dba685e4c5fe4902bbac5d85bb86326e87f.zip gcc-10a38dba685e4c5fe4902bbac5d85bb86326e87f.tar.gz gcc-10a38dba685e4c5fe4902bbac5d85bb86326e87f.tar.bz2 |
* decl2.c (prune_vtable_vardecl): Delete unused function.
From-SVN: r57994
Diffstat (limited to 'gcc/cp')
-rw-r--r-- | gcc/cp/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/cp/decl2.c | 10 |
2 files changed, 4 insertions, 10 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index c03b7b7..49d65cd 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,7 @@ +2002-10-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> + + * decl2.c (prune_vtable_vardecl): Delete unused function. + 2002-10-03 Mark Mitchell <mark@codesourcery.com> PR c++/7754 diff --git a/gcc/cp/decl2.c b/gcc/cp/decl2.c index c738b37..cab1c01 100644 --- a/gcc/cp/decl2.c +++ b/gcc/cp/decl2.c @@ -61,7 +61,6 @@ typedef struct priority_info_s { static void mark_vtable_entries PARAMS ((tree)); static void grok_function_init PARAMS ((tree, tree)); static int finish_vtable_vardecl PARAMS ((tree *, void *)); -static int prune_vtable_vardecl PARAMS ((tree *, void *)); static int is_namespace_ancestor PARAMS ((tree, tree)); static void add_using_namespace PARAMS ((tree, tree, int)); static tree ambiguous_decl PARAMS ((tree, tree, tree,int)); @@ -1879,15 +1878,6 @@ finish_vtable_vardecl (t, data) return 0; } -static int -prune_vtable_vardecl (t, data) - tree *t; - void *data ATTRIBUTE_UNUSED; -{ - *t = TREE_CHAIN (*t); - return 1; -} - /* Determines the proper settings of TREE_PUBLIC and DECL_EXTERNAL for an inline function or template instantiation at end-of-file. */ |