* c-varobj.c (cplus_number_of_children): Fix indentation.
This commit is contained in:
Yao Qi 2013-10-18 02:09:57 +00:00
parent 64fc6eab9a
commit 0c6faab597
2 changed files with 6 additions and 2 deletions

View 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:

View 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];