mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-06 14:49:38 +08:00
* m2-typeprint.c (m2_print_bounds, m2_is_long_set_of_type): Remove
redundant check for NULL TYPE_TARGET_TYPE. * m2-valprint.c (m2_print_long_set): Likewise. * p-valprint.c (pascal_type_print_base): Likewise.
This commit is contained in:
@ -119,8 +119,6 @@ m2_print_long_set (struct type *type, const gdb_byte *valaddr,
|
||||
}
|
||||
|
||||
target = TYPE_TARGET_TYPE (range);
|
||||
if (target == NULL)
|
||||
target = builtin_type_int32;
|
||||
|
||||
if (get_discrete_bounds (range, &field_low, &field_high) >= 0)
|
||||
{
|
||||
@ -165,8 +163,6 @@ m2_print_long_set (struct type *type, const gdb_byte *valaddr,
|
||||
if (get_discrete_bounds (range, &field_low, &field_high) < 0)
|
||||
break;
|
||||
target = TYPE_TARGET_TYPE (range);
|
||||
if (target == NULL)
|
||||
target = builtin_type_int32;
|
||||
}
|
||||
}
|
||||
if (element_seen)
|
||||
|
Reference in New Issue
Block a user