dwarves: Remove unused variable
The 'last' variable is not being used at all, ditch it. Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:
parent
b1412a88bb
commit
511a791294
|
@ -1377,7 +1377,7 @@ void type__check_structs_at_unnatural_alignments(struct type *type, const struct
|
||||||
bool class__infer_packed_attributes(struct class *cls, const struct cu *cu)
|
bool class__infer_packed_attributes(struct class *cls, const struct cu *cu)
|
||||||
{
|
{
|
||||||
struct type *ctype = &cls->type;
|
struct type *ctype = &cls->type;
|
||||||
struct class_member *pos, *last = NULL;
|
struct class_member *pos;
|
||||||
uint16_t max_natural_alignment = 1;
|
uint16_t max_natural_alignment = 1;
|
||||||
|
|
||||||
if (!tag__is_struct(class__tag(cls)))
|
if (!tag__is_struct(class__tag(cls)))
|
||||||
|
|
Loading…
Reference in New Issue