diff options
author | Tom Tromey <tromey@adacore.com> | 2019-08-19 12:46:03 -0600 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2019-08-19 12:46:03 -0600 |
commit | 7ce8f214f1af1dd593ad42665da416ac46033f97 (patch) | |
tree | 017d2d6ab176105997ce7c0501390e80fe16a4bb /gdb/python | |
parent | f21c2bd7b7ef2a9c47e5713cabaa784bcf5c2bee (diff) | |
download | gdb-7ce8f214f1af1dd593ad42665da416ac46033f97.zip gdb-7ce8f214f1af1dd593ad42665da416ac46033f97.tar.gz gdb-7ce8f214f1af1dd593ad42665da416ac46033f97.tar.bz2 |
Fix indentation in value_has_field
value_has_field had a mis-indented line. This fixes it.
gdb/ChangeLog
2019-08-19 Tom Tromey <tromey@adacore.com>
* python/py-value.c (value_has_field): Fix indentation.
Diffstat (limited to 'gdb/python')
-rw-r--r-- | gdb/python/py-value.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/python/py-value.c b/gdb/python/py-value.c index 0ffd0b0..ede4c0e 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) |