diff options
author | Ulrich Weigand <uweigand@de.ibm.com> | 2009-07-02 12:16:56 +0000 |
---|---|---|
committer | Ulrich Weigand <uweigand@de.ibm.com> | 2009-07-02 12:16:56 +0000 |
commit | d5c831bd769fa23e1f0d6c7e9ac9efbad0f84a6d (patch) | |
tree | 8b48b915f4e099da3f415ce11419d4e19b069cd1 /gdb/m2-valprint.c | |
parent | 5d3729b5d11ada0b369a965d4dcb40ace00e8d84 (diff) | |
download | gdb-d5c831bd769fa23e1f0d6c7e9ac9efbad0f84a6d.zip gdb-d5c831bd769fa23e1f0d6c7e9ac9efbad0f84a6d.tar.gz gdb-d5c831bd769fa23e1f0d6c7e9ac9efbad0f84a6d.tar.bz2 |
* 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.
Diffstat (limited to 'gdb/m2-valprint.c')
-rw-r--r-- | gdb/m2-valprint.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/gdb/m2-valprint.c b/gdb/m2-valprint.c index 41fb8fe..27b0e8a 100644 --- a/gdb/m2-valprint.c +++ b/gdb/m2-valprint.c @@ -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) |