This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: New ARI warning Fri Oct 18 01:51:13 UTC 2013 in -D 2013.10.18.00.00.15


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."


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]