From: Tom Tromey Date: Mon, 19 Aug 2019 18:46:03 +0000 (-0600) Subject: Fix indentation in value_has_field X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7ce8f214f1af1dd593ad42665da416ac46033f97;p=binutils-gdb.git Fix indentation in value_has_field value_has_field had a mis-indented line. This fixes it. gdb/ChangeLog 2019-08-19 Tom Tromey * python/py-value.c (value_has_field): Fix indentation. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 6c9b2e0a22c..2dce6090685 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2019-08-19 Tom Tromey + + * python/py-value.c (value_has_field): Fix indentation. + 2019-08-19 Tom Tromey * printcmd.c (do_one_display, info_display_command): Update. diff --git a/gdb/python/py-value.c b/gdb/python/py-value.c index 0ffd0b03d1d..ede4c0e759a 100644 --- a/gdb/python/py-value.c +++ b/gdb/python/py-value.c @@ -847,7 +847,7 @@ value_has_field (struct value *v, PyObject *field) val_type = value_type (v); val_type = check_typedef (val_type); if (TYPE_IS_REFERENCE (val_type) || TYPE_CODE (val_type) == TYPE_CODE_PTR) - val_type = check_typedef (TYPE_TARGET_TYPE (val_type)); + val_type = check_typedef (TYPE_TARGET_TYPE (val_type)); type_code = TYPE_CODE (val_type); if ((type_code == TYPE_CODE_STRUCT || type_code == TYPE_CODE_UNION)