diff --git a/classes.c b/classes.c index f7aec85..2b382c9 100644 --- a/classes.c +++ b/classes.c @@ -1135,7 +1135,6 @@ static struct class *class__new(Dwarf_Die *die) static void class__add_member(struct class *self, struct class_member *member) { ++self->nr_members; - member->class = self; list_add_tail(&member->tag.node, &self->members); } diff --git a/classes.h b/classes.h index beab9c4..4900f50 100644 --- a/classes.h +++ b/classes.h @@ -123,7 +123,6 @@ static inline struct array_type *tag__array_type(const struct tag *self) struct class_member { struct tag tag; char *name; - struct class *class; uint16_t offset; uint8_t bit_offset; uint8_t bit_size;