This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: New ARI warning Fri Oct 18 01:51:13 UTC 2013 in -D 2013.10.18.00.00.15
- From: Andreas Schwab <schwab at linux-m68k dot org>
- To: Yao Qi <yao at codesourcery dot com>
- Cc: <gdb-patches at sourceware dot org>
- Date: Fri, 18 Oct 2013 12:15:43 +0200
- Subject: Re: New ARI warning Fri Oct 18 01:51:13 UTC 2013 in -D 2013.10.18.00.00.15
- Authentication-results: sourceware.org; auth=none
- References: <20131018015113 dot GA32262 at sourceware dot org> <52609835 dot 4000504 at codesourcery dot com>
Yao Qi <yao@codesourcery.com> 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."