* 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.
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.
+
* ui-out.c (ui_out_field_int): Delete unused variable.
(ui_out_field_fmt_int): Delete unused variable.
* varobj.c (varobj_list_children): Delete unused variable.
unsigned int len;
int i;
struct type *elttype;
- unsigned int eltlen;
LONGEST val;
const gdb_byte *valaddr = valaddr0 + embedded_offset;
struct type *elttype;
struct type *true_type;
struct type *ptr_type;
- struct type *range_type;
const gdb_byte *ptraddr;
struct value *val;
int length;
int arrayprint_recurse_level)
{
int upper_bound, lower_bound;
- int retcode;
+
/* No static variables are permitted as an error call may occur during
execution of this function. */
f_type_print_base (struct type *type, struct ui_file *stream, int show,
int level)
{
- int retcode;
int upper_bound;
-
int index;
QUIT;
{
int upper_bound = -1;
int lower_bound = 1;
- int retcode;
/* Recursively go all the way down into a possibly multi-dimensional
F77 array and get the bounds. For simple arrays, this is pretty
struct type *tmp_type;
int eltlen;
int ndimen = 1;
- int upper, lower, retcode;
+ int upper, lower;
tmp_type = type;
int show, int level)
{
enum type_code code;
- int demangled_args;
CHECK_TYPEDEF (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);
unsigned len;
struct type *elttype;
unsigned eltlen;
- int length_pos, length_size, string_pos;
- int char_size;
LONGEST val;
CORE_ADDR addr;
pascal_type_print_varspec_prefix (struct type *type, struct ui_file *stream,
int show, int passed_a_ptr)
{
- char *name;
if (type == 0)
return;
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 */