gdb/
authorYao Qi <yao@codesourcery.com>
Fri, 18 Oct 2013 02:09:57 +0000 (02:09 +0000)
committerYao Qi <yao@codesourcery.com>
Fri, 18 Oct 2013 02:09:57 +0000 (02:09 +0000)
* c-varobj.c (cplus_number_of_children): Fix indentation.

gdb/ChangeLog
gdb/c-varobj.c

index d6200fa0844d7135f5edb4152a2c6b7c20544fbf..872838b2d1d5c158bc09890697222f8883d499af 100644 (file)
@@ -1,3 +1,7 @@
+2013-10-18  Yao Qi  <yao@codesourcery.com>
+
+       * c-varobj.c (cplus_number_of_children): Fix indentation.
+
 2013-10-17  Tom Tromey  <tromey@redhat.com>
 
        PR gdb/15995:
index 73e785c5e50c3a12b788917292ea704359ea2a1b..fbfc84527e6e346da328eaa384fcfb7c254fc705 100644 (file)
@@ -531,8 +531,8 @@ cplus_number_of_children (struct varobj *var)
         }
       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];