Fix indentation in value_has_field
authorTom Tromey <tromey@adacore.com>
Mon, 19 Aug 2019 18:46:03 +0000 (12:46 -0600)
committerTom Tromey <tromey@adacore.com>
Mon, 19 Aug 2019 18:46:03 +0000 (12:46 -0600)
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.

gdb/ChangeLog
gdb/python/py-value.c

index 6c9b2e0a22c347191d1a693ef9f192d5b0a2c1c0..2dce6090685ee1ca33ef98cc7489722294279e67 100644 (file)
@@ -1,3 +1,7 @@
+2019-08-19  Tom Tromey  <tromey@adacore.com>
+
+       * python/py-value.c (value_has_field): Fix indentation.
+
 2019-08-19  Tom Tromey  <tromey@adacore.com>
 
        * printcmd.c (do_one_display, info_display_command): Update.
index 0ffd0b03d1d005844eb131e9f583765975cef008..ede4c0e759a97900b389da629dfc54b44f274596 100644 (file)
@@ -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)