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


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.

--
Yao (éå)

gdb:

2013-10-18  Yao Qi  <yao@codesourcery.com>

	* c-varobj.c (cplus_number_of_children): Fix indentation.

Index: c-varobj.c
===================================================================
RCS file: /cvs/src/src/gdb/c-varobj.c,v
retrieving revision 1.1
diff -u -r1.1 c-varobj.c
--- c-varobj.c	17 Oct 2013 13:28:36 -0000	1.1
+++ c-varobj.c	18 Oct 2013 02:04:10 -0000
@@ -531,8 +531,8 @@
         }
adjust_value_for_child_access (&value, &type, NULL, lookup_actual_type);

-      if (((TYPE_CODE (type)) == TYPE_CODE_STRUCT) ||
-	  ((TYPE_CODE (type)) == TYPE_CODE_UNION))
+      if (((TYPE_CODE (type)) == TYPE_CODE_STRUCT)
+	  || ((TYPE_CODE (type)) == TYPE_CODE_UNION))
 	{
 	  int kids[3];


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