diff options
author | Michael Snyder <msnyder@specifix.com> | 2010-05-07 00:28:31 +0000 |
---|---|---|
committer | Michael Snyder <msnyder@specifix.com> | 2010-05-07 00:28:31 +0000 |
commit | 36740389202db9855a768e8853b2bc9b1a0451ba (patch) | |
tree | 31aaf9a8c24ff35bf166317b61d05ebb52145a40 /gdb/p-typeprint.c | |
parent | 5af51f644658366f8caf2cf559554a9ac6476c3d (diff) | |
download | gdb-36740389202db9855a768e8853b2bc9b1a0451ba.tar.gz |
2010-05-06 Michael Snyder <msnyder@vmware.com>
* p-typeprint.c (pascal_type_print_base): Delete unused variable.
(pascal_type_print_varspec_prefix): Delete unused variable.
* f-typeprint.c (f_type_print_base): Delete unused variable.
(f_type_print_varspec_suffix): Delete unused variable.
* m2-typeprint.c (m2_print_type): Delete unused variable.
(m2_long_set): Delete unused variable.
* ada-valprint.c (ada_val_print_1): Delete unused variable.
* d-valprint.c (dynamic_array_type): Delete unused variable.
* f-valprint.c (f77_get_dynamic_length_of_aggregate):
Delete unused variable.
(f77_create_arrayprint_offset_tbl): Delete unused variable.
* m2-valprint.c (m2_val_print): Delete unused variable.
Diffstat (limited to 'gdb/p-typeprint.c')
-rw-r--r-- | gdb/p-typeprint.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/p-typeprint.c b/gdb/p-typeprint.c index 7ea1f124f8f..8924a28cc3e 100644 --- a/gdb/p-typeprint.c +++ b/gdb/p-typeprint.c @@ -205,7 +205,6 @@ void pascal_type_print_varspec_prefix (struct type *type, struct ui_file *stream, int show, int passed_a_ptr) { - char *name; if (type == 0) return; @@ -618,7 +617,7 @@ pascal_type_print_base (struct type *type, struct ui_file *stream, int show, struct fn_field *f = TYPE_FN_FIELDLIST1 (type, i); int j, len2 = TYPE_FN_FIELDLIST_LENGTH (type, i); char *method_name = TYPE_FN_FIELDLIST_NAME (type, i); - char *name = type_name_no_tag (type); + /* this is GNU C++ specific how can we know constructor/destructor? It might work for GNU pascal */ |