This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

fix mainline build


Please bootstrap your patches.  This one fails due to -Werror
complaining about pp_cxx_class_name defined but not used.


r~


	* cxx-pretty-print.c (pp_cxx_class_name): Remove unused function.

Index: cxx-pretty-print.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/cp/cxx-pretty-print.c,v
retrieving revision 1.3
diff -u -p -r1.3 cxx-pretty-print.c
--- cxx-pretty-print.c	25 Aug 2003 19:10:50 -0000	1.3
+++ cxx-pretty-print.c	25 Aug 2003 20:40:14 -0000
@@ -123,12 +123,6 @@ pp_cxx_template_id (cxx_pretty_printer *
   pp_cxx_end_template_argument_list (pp);
 }
 
-static void
-pp_cxx_class_name (cxx_pretty_printer *pp, tree t)
-{
-  pp_cxx_unqualified_id (pp, TYPE_NAME (t));
-}
-
 /* unqualified-id:
      identifier
      operator-function-id


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]