Remove duplicate line in gcov's output

Message ID 2025194.rQk95Bi1Le@polaris
State New
Headers show
Series
  • Remove duplicate line in gcov's output
Related show

Commit Message

Eric Botcazou Oct. 30, 2018, 6:01 p.m.
...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

Patch

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