* decl2.c (prune_vtable_vardecl): Delete unused function.
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>
Wed, 9 Oct 2002 21:08:42 +0000 (21:08 +0000)
committerKaveh Ghazi <ghazi@gcc.gnu.org>
Wed, 9 Oct 2002 21:08:42 +0000 (21:08 +0000)
From-SVN: r57994

gcc/cp/ChangeLog
gcc/cp/decl2.c

index c03b7b7506cc31a4f883afc6e474e01b862cf43e..49d65cd2e07b47346f88872deddd962224e8208f 100644 (file)
@@ -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
index c738b37896db3a714a7d61b3754172875b2ddfab..cab1c01188b71267b6a6bd2bd459f5d169168679 100644 (file)
@@ -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.  */