From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28907 invoked by alias); 18 Oct 2013 10:15:50 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 28893 invoked by uid 89); 18 Oct 2013 10:15:50 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.3 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 X-HELO: mail-out.m-online.net Received: from mail-out.m-online.net (HELO mail-out.m-online.net) (212.18.0.9) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Fri, 18 Oct 2013 10:15:49 +0000 Received: from frontend1.mail.m-online.net (unknown [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id 3d1NRj2RTvz4KK37; Fri, 18 Oct 2013 12:15:45 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.68]) by mail.m-online.net (Postfix) with ESMTP id 3d1NRj1xpXzbbgP; Fri, 18 Oct 2013 12:15:45 +0200 (CEST) Received: from mail.mnet-online.de ([192.168.8.180]) by localhost (dynscan1.mail.m-online.net [192.168.6.68]) (amavisd-new, port 10024) with ESMTP id T6rpNS8P6G2o; Fri, 18 Oct 2013 12:15:44 +0200 (CEST) X-Auth-Info: 9671tm+StMw+3Yf3tx1IlUtO+YI61lcqbfzEnCdrN5w= Received: from igel.home (ppp-93-104-154-193.dynamic.mnet-online.de [93.104.154.193]) by mail.mnet-online.de (Postfix) with ESMTPA; Fri, 18 Oct 2013 12:15:44 +0200 (CEST) Received: by igel.home (Postfix, from userid 1000) id F118E2C1468; Fri, 18 Oct 2013 12:15:43 +0200 (CEST) From: Andreas Schwab To: Yao Qi Cc: Subject: Re: New ARI warning Fri Oct 18 01:51:13 UTC 2013 in -D 2013.10.18.00.00.15 References: <20131018015113.GA32262@sourceware.org> <52609835.4000504@codesourcery.com> X-Yow: I'm shaving!! I'M SHAVING!! Date: Fri, 18 Oct 2013 10:15:00 -0000 In-Reply-To: <52609835.4000504@codesourcery.com> (Yao Qi's message of "Fri, 18 Oct 2013 10:08:53 +0800") Message-ID: <8761sunauo.fsf@igel.home> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-SW-Source: 2013-10/txt/msg00552.txt.bz2 Yao Qi writes: > On 10/18/2013 09:51 AM, GDB Administrator wrote: >> 47a48 >>> >gdb/c-varobj.c:534: code: OP eol: Do not use &&, or || at the end of a line >> gdb/c-varobj.c:534: if (((TYPE_CODE (type)) == TYPE_CODE_STRUCT) || >> 854d854 >> < gdb/varobj.c:3494: code: OP eol: Do not use &&, or || at the end of a line >> gdb/varobj.c:3494: if (((TYPE_CODE (type)) == TYPE_CODE_STRUCT) || > > Fixed by this patch. There are also a lot of redundant parens. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."