From patchwork Mon Jul 27 20:51:45 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Polacek X-Patchwork-Id: 500662 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org 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 4B1A01402DD for ; Tue, 28 Jul 2015 06:51:59 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b=OzAKN1Pg; dkim-atps=neutral DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:date :from:to:subject:message-id:mime-version:content-type; q=dns; s= default; b=EqcXbUAScw2IEgAeBc19cX9SUWK2ysIdKozg2mtLwP0pfNIzaypuA sWdtKWeu4yqOvhCUgi+hd/MbdU9m/GNJ2mA5KlceliHJP9uAvhfYJqNMFuTDzQAO 1Pt4llBYUmtJnskfdGk+HwykV4/fWcYee77cz95aBUmVoBL6eRlu5Y= 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:date :from:to:subject:message-id:mime-version:content-type; s= default; bh=Rp6BIWX6Xdtw9VU1FvjUz80xBs4=; b=OzAKN1PgpV+CaOGaPZuj z95zzrZylxxUxFZ+bEWV2IkjANbW0ywfqicu3/G4xA+708T+uHGSqHTbdxuLXO/h tuNJgXL+4bcuE2pS2baE2SeOj70Kjw+rFOUsJh0FFF+VwUImpMRaAuxl4g0llrDH RiUQvrEWHoP8WnLnnvzyE9g= Received: (qmail 52469 invoked by alias); 27 Jul 2015 20:51:51 -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 52007 invoked by uid 89); 27 Jul 2015 20:51:51 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.4 required=5.0 tests=AWL, BAYES_00, KAM_LAZY_DOMAIN_SECURITY, RP_MATCHES_RCVD, SPF_HELO_PASS autolearn=ham version=3.3.2 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Mon, 27 Jul 2015 20:51:50 +0000 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (Postfix) with ESMTPS id 758C691C28 for ; Mon, 27 Jul 2015 20:51:49 +0000 (UTC) Received: from redhat.com (ovpn-204-28.brq.redhat.com [10.40.204.28]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t6RKpjQx016979 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for ; Mon, 27 Jul 2015 16:51:48 -0400 Date: Mon, 27 Jul 2015 22:51:45 +0200 From: Marek Polacek To: GCC Patches Subject: [committed] Remove unused decl in a test Message-ID: <20150727205145.GZ3335@redhat.com> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) Applied. 2015-07-27 Marek Polacek * c-c++-common/Wtautological-compare-2.c: Remove unused declaration. Marek diff --git gcc/testsuite/c-c++-common/Wtautological-compare-2.c gcc/testsuite/c-c++-common/Wtautological-compare-2.c index c8aecef..260d9f7 100644 --- gcc/testsuite/c-c++-common/Wtautological-compare-2.c +++ gcc/testsuite/c-c++-common/Wtautological-compare-2.c @@ -2,8 +2,6 @@ /* { dg-do compile } */ /* { dg-options "-Wtautological-compare" } */ -extern int foo (void); - #define A a #define B A #define FOO (A > B)