diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index c03b7b7506c..49d65cd2e07 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,7 @@ +2002-10-09 Kaveh R. Ghazi + + * decl2.c (prune_vtable_vardecl): Delete unused function. + 2002-10-03 Mark Mitchell PR c++/7754 diff --git a/gcc/cp/decl2.c b/gcc/cp/decl2.c index c738b37896d..cab1c01188b 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. */