diff options
author | 2009-07-02 12:16:56 +0000 | |
---|---|---|
committer | 2009-07-02 12:16:56 +0000 | |
commit | d5c831bd769fa23e1f0d6c7e9ac9efbad0f84a6d (patch) | |
tree | 8b48b915f4e099da3f415ce11419d4e19b069cd1 /gdb/p-typeprint.c | |
parent | ChangeLog: (diff) | |
download | binutils-gdb-d5c831bd769fa23e1f0d6c7e9ac9efbad0f84a6d.tar.gz binutils-gdb-d5c831bd769fa23e1f0d6c7e9ac9efbad0f84a6d.tar.bz2 binutils-gdb-d5c831bd769fa23e1f0d6c7e9ac9efbad0f84a6d.zip |
* 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/p-typeprint.c')
-rw-r--r-- | gdb/p-typeprint.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/gdb/p-typeprint.c b/gdb/p-typeprint.c index 5085fb410eb..62f4511f09e 100644 --- a/gdb/p-typeprint.c +++ b/gdb/p-typeprint.c @@ -768,8 +768,6 @@ pascal_type_print_base (struct type *type, struct ui_file *stream, int show, case TYPE_CODE_RANGE: { struct type *target = TYPE_TARGET_TYPE (type); - if (target == NULL) - target = builtin_type_int32; print_type_scalar (target, TYPE_LOW_BOUND (type), stream); fputs_filtered ("..", stream); print_type_scalar (target, TYPE_HIGH_BOUND (type), stream); |