From patchwork Tue Oct 30 18:01:47 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eric Botcazou X-Patchwork-Id: 991024 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=gcc.gnu.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=gcc-patches-return-488639-incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=adacore.com Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="S0Df34D1"; dkim-atps=neutral Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 42kznS1LV7z9s9J for ; Wed, 31 Oct 2018 05:02:04 +1100 (AEDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:subject:date:message-id:mime-version:content-type :content-transfer-encoding; q=dns; s=default; b=l+lwoVhwobTZxOHa mN/Zfs2KxAvjUWomJDt9LAXINbE89drGw5PBZNJ38hAMjRMVnD7irlkqlQIJ7k4v N+pDCOgmOGCSuAk3XBW/8vnuD3Gi3grYgWnLgWZ9D3R8p5OW85OT0F3ZmIVTjKbK mqGa8dagmqJIJoQ1eeQBOWUl0YQ= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:subject:date:message-id:mime-version:content-type :content-transfer-encoding; s=default; bh=3zU8JFfj2NtlIBukOHKYR+ ofyIg=; b=S0Df34D1PgA2oHcJqvfQrhODtnsvayd4tabWMGG2F/FXHTkcgLqEHL k3j6AJf+a2neRcfP3RtzD8Mg8FHVN5/xSonGkWKK+1Wd7AGxtgAjC0gFot/qZvUC hxgXUoTZt2TFTxX4zGjF7IiLWemqpywrZ2d7b0c8/cd73U3j7DQYQ= Received: (qmail 5753 invoked by alias); 30 Oct 2018 18:01:57 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 5719 invoked by uid 89); 30 Oct 2018 18:01:56 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-11.1 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, SPF_PASS autolearn=ham version=3.3.2 spammy= X-HELO: smtp.eu.adacore.com Received: from mel.act-europe.fr (HELO smtp.eu.adacore.com) (194.98.77.210) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 30 Oct 2018 18:01:50 +0000 Received: from localhost (localhost [127.0.0.1]) by filtered-smtp.eu.adacore.com (Postfix) with ESMTP id 0EBA681392 for ; Tue, 30 Oct 2018 19:01:48 +0100 (CET) Received: from smtp.eu.adacore.com ([127.0.0.1]) by localhost (smtp.eu.adacore.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Iewr5WyCmBl9 for ; Tue, 30 Oct 2018 19:01:47 +0100 (CET) Received: from polaris.localnet (bon31-6-88-161-99-133.fbx.proxad.net [88.161.99.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.eu.adacore.com (Postfix) with ESMTPSA id E0C458138A for ; Tue, 30 Oct 2018 19:01:47 +0100 (CET) From: Eric Botcazou To: gcc-patches@gcc.gnu.org Subject: Remove duplicate line in gcov's output Date: Tue, 30 Oct 2018 19:01:47 +0100 Message-ID: <2025194.rQk95Bi1Le@polaris> MIME-Version: 1.0 ...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 * gcov.c (output_lines): Remove duplicate line. 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);