diff options
author | Doug Evans <dje@google.com> | 2012-01-08 21:02:39 +0000 |
---|---|---|
committer | Doug Evans <dje@google.com> | 2012-01-08 21:02:39 +0000 |
commit | 17d84bcd78dec55d3ed6ada60a56f7b259cccdc9 (patch) | |
tree | 44187525ee1655f2ad0dea0ea25e8cf8a7a6613d /gdb/stabsread.c | |
parent | e25fab22c712775046cf557345c1b84dad7ddfe4 (diff) | |
download | gdb-17d84bcd78dec55d3ed6ada60a56f7b259cccdc9.tar.gz |
* gdbtypes.h (struct cplus_struct_type): Delete member
nfn_fields_total. All uses removed.
Diffstat (limited to 'gdb/stabsread.c')
-rw-r--r-- | gdb/stabsread.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/gdb/stabsread.c b/gdb/stabsread.c index 865bac8530c..e3811dd7c9e 100644 --- a/gdb/stabsread.c +++ b/gdb/stabsread.c @@ -2278,10 +2278,6 @@ read_member_functions (struct field_info *fip, char **pp, struct type *type, { int nfn_fields = 0; int length = 0; - /* Total number of member functions defined in this class. If the class - defines two `f' functions, and one `g' function, then this will have - the value 3. */ - int total_length = 0; int i; struct next_fnfield { @@ -2681,7 +2677,6 @@ read_member_functions (struct field_info *fip, char **pp, struct type *type, destr_fnlist->next = fip->fnlist; fip->fnlist = destr_fnlist; nfn_fields++; - total_length += has_destructor; length -= has_destructor; } else if (is_v3) @@ -2732,7 +2727,6 @@ read_member_functions (struct field_info *fip, char **pp, struct type *type, new_fnlist->next = fip->fnlist; fip->fnlist = new_fnlist; nfn_fields++; - total_length += length; } } @@ -2744,7 +2738,6 @@ read_member_functions (struct field_info *fip, char **pp, struct type *type, memset (TYPE_FN_FIELDLISTS (type), 0, sizeof (struct fn_fieldlist) * nfn_fields); TYPE_NFN_FIELDS (type) = nfn_fields; - TYPE_NFN_FIELDS_TOTAL (type) = total_length; } return 1; |