diff options
author | Doug Evans <dje@google.com> | 2012-01-08 21:02:45 +0000 |
---|---|---|
committer | Doug Evans <dje@google.com> | 2012-01-08 21:02:45 +0000 |
commit | 4d72c0bc3e5ec0919142311d5521a356d318bf20 (patch) | |
tree | 45ee38a8b0b720af5eee07b79106c478b833fe38 /gdb/stabsread.c | |
parent | de64cffdf8df81f522d582d6a596803b351168df (diff) | |
download | gdb-4d72c0bc3e5ec0919142311d5521a356d318bf20.zip gdb-4d72c0bc3e5ec0919142311d5521a356d318bf20.tar.gz gdb-4d72c0bc3e5ec0919142311d5521a356d318bf20.tar.bz2 |
* 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 865bac8..e3811dd 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; |