From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 78652 invoked by alias); 17 Jan 2016 17:56:58 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 78641 invoked by uid 89); 17 Jan 2016 17:56:57 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.9 required=5.0 tests=BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_NONE autolearn=no version=3.3.2 spammy=3284, readdir, Wparentheses, wparentheses 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 (AES256-GCM-SHA384 encrypted) ESMTPS; Sun, 17 Jan 2016 17:56:56 +0000 Received: from localhost (localhost [127.0.0.1]) by filtered-smtp.eu.adacore.com (Postfix) with ESMTP id 585DC28FB97D; Sun, 17 Jan 2016 18:56:53 +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 HUDBkIrtuFwr; Sun, 17 Jan 2016 18:56:53 +0100 (CET) Received: from chelles.act-europe.fr (chelles.act-europe.fr [10.10.0.160]) by smtp.eu.adacore.com (Postfix) with ESMTP id 4619A28FB97C; Sun, 17 Jan 2016 18:56:53 +0100 (CET) Received: by chelles.act-europe.fr (Postfix, from userid 525) id 20D0B1EA1887; Sun, 17 Jan 2016 18:56:53 +0100 (CET) Date: Sun, 17 Jan 2016 17:56:00 -0000 From: Arnaud Charlet To: Jakub Jelinek Cc: gcc-patches@gcc.gnu.org Subject: Re: [PATCH] Another warning fix in adaint.c Message-ID: <20160117175653.GA4144@adacore.com> References: <20160115200436.GE3017@tucnak.redhat.com> <20160115200939.GA18406@adacore.com> <20160117175125.GO3017@tucnak.redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160117175125.GO3017@tucnak.redhat.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-SW-Source: 2016-01/txt/msg01221.txt.bz2 > Following patch fixes another warning in adaint.c: > ../../gcc/ada/adaint.c: In function 'void > __gnat_killprocesstree(int, int)': > ../../gcc/ada/adaint.c:3284:26: warning: suggest parentheses around > assignment used as truth value [-Wparentheses] > while (d = readdir (dir)) > ^ > > Bootstrapped/regtested on x86_64-linux, ok for trunk? Yes, thanks. > 2016-01-17 Jakub Jelinek > > * adaint.c (__gnat_killprocesstree): Avoid -Wparentheses warning.