aboutsummaryrefslogtreecommitdiff
path: root/gdb/m2-typeprint.c
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2010-05-07 00:28:32 +0000
committerMichael Snyder <msnyder@vmware.com>2010-05-07 00:28:32 +0000
commit9216103f920df7d9399aed10328cabd314cb8f47 (patch)
tree834fb17539b3b1fbf0890bc860ddc2904bc85427 /gdb/m2-typeprint.c
parent34fa1d9dd20c6ef924f0f935a6325a1873a0ecb5 (diff)
downloadgdb-9216103f920df7d9399aed10328cabd314cb8f47.zip
gdb-9216103f920df7d9399aed10328cabd314cb8f47.tar.gz
gdb-9216103f920df7d9399aed10328cabd314cb8f47.tar.bz2
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/m2-typeprint.c')
-rw-r--r--gdb/m2-typeprint.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/gdb/m2-typeprint.c b/gdb/m2-typeprint.c
index 53e3ddc..70d8358 100644
--- a/gdb/m2-typeprint.c
+++ b/gdb/m2-typeprint.c
@@ -71,7 +71,6 @@ m2_print_type (struct type *type, char *varstring, struct ui_file *stream,
int show, int level)
{
enum type_code code;
- int demangled_args;
CHECK_TYPEDEF (type);
@@ -424,8 +423,6 @@ m2_is_long_set_of_type (struct type *type, struct type **of_type)
static int
m2_long_set (struct type *type, struct ui_file *stream, int show, int level)
{
- struct type *index_type;
- struct type *range_type;
struct type *of_type;
int i;
int len = TYPE_NFIELDS (type);