public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* Remove duplicate line in gcov's output
@ 2018-10-30 19:07 Eric Botcazou
  0 siblings, 0 replies; only message in thread
From: Eric Botcazou @ 2018-10-30 19:07 UTC (permalink / raw)
  To: gcc-patches

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

...coming from a duplicate line in gcov's source code.

Tested on x86_64-suse-linux, applied on mainline as obvious.


2018-10-30  Eric Botcazou  <ebotcazou@adacore.com>

	* gcov.c (output_lines): Remove duplicate line.

-- 
Eric Botcazou

[-- Attachment #2: p.diff --]
[-- Type: text/x-patch, Size: 524 bytes --]

Index: gcov.c
===================================================================
--- gcov.c	(revision 265582)
+++ gcov.c	(working copy)
@@ -2951,8 +2951,6 @@ output_lines (FILE *gcov_file, const sou
 	     SGR_SEQ (COLOR_BG_GREEN) "> 10%" SGR_RESET "\n");
 
   fprintf (gcov_file, DEFAULT_LINE_START "Source:%s\n", src->coverage.name);
-
-  fprintf (gcov_file, DEFAULT_LINE_START "Source:%s\n", src->coverage.name);
   if (!multiple_files)
     {
       fprintf (gcov_file, DEFAULT_LINE_START "Graph:%s\n", bbg_file_name);

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

only message in thread, other threads:[~2018-10-30 18:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-30 19:07 Remove duplicate line in gcov's output Eric Botcazou

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).