public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [C++ patch, committed as obvious] PR 48816
@ 2011-05-08 19:39 Paolo Carlini
  0 siblings, 0 replies; only message in thread
From: Paolo Carlini @ 2011-05-08 19:39 UTC (permalink / raw)
  To: gcc-patches

[-- Attachment #1: Type: text/plain, Size: 60 bytes --]

Hi,

committed to mainline.

Paolo.

//////////////////////

[-- Attachment #2: CL --]
[-- Type: text/plain, Size: 159 bytes --]

2011-05-08  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c++/48816
	* cxx-pretty-print.c (pp_cxx_template_declaration): Remove
	effectively unused variable.

[-- Attachment #3: patchlet --]
[-- Type: text/plain, Size: 788 bytes --]

Index: cxx-pretty-print.c
===================================================================
--- cxx-pretty-print.c	(revision 173548)
+++ cxx-pretty-print.c	(working copy)
@@ -2133,7 +2133,6 @@ pp_cxx_template_declaration (cxx_pretty_printer *p
 {
   tree tmpl = most_general_template (t);
   tree level;
-  int i = 0;
 
   pp_maybe_newline_and_indent (pp, 0);
   for (level = DECL_TEMPLATE_PARMS (tmpl); level; level = TREE_CHAIN (level))
@@ -2143,7 +2142,6 @@ pp_cxx_template_declaration (cxx_pretty_printer *p
       pp_cxx_template_parameter_list (pp, TREE_VALUE (level));
       pp_cxx_end_template_argument_list (pp);
       pp_newline_and_indent (pp, 3);
-      i += 3;
     }
   if (TREE_CODE (t) == FUNCTION_DECL && DECL_SAVED_TREE (t))
     pp_cxx_function_definition (pp, t);

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-05-08 13:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-08 19:39 [C++ patch, committed as obvious] PR 48816 Paolo Carlini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).