From 10a38dba685e4c5fe4902bbac5d85bb86326e87f Mon Sep 17 00:00:00 2001 From: "Kaveh R. Ghazi" Date: Wed, 9 Oct 2002 21:08:42 +0000 Subject: [PATCH] * decl2.c (prune_vtable_vardecl): Delete unused function. From-SVN: r57994 --- gcc/cp/ChangeLog | 4 ++++ 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 + + * 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 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. */ -- 2.7.4