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 d6200fa..872838b 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 73e785c..fbfc845 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];