From 511a79129494483470ea18e294a71394f9588f42 Mon Sep 17 00:00:00 2001 From: Arnaldo Carvalho de Melo Date: Mon, 1 Jul 2019 16:24:31 -0300 Subject: [PATCH] dwarves: Remove unused variable The 'last' variable is not being used at all, ditch it. Signed-off-by: Arnaldo Carvalho de Melo --- dwarves.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dwarves.c b/dwarves.c index 9542394..f610305 100644 --- a/dwarves.c +++ b/dwarves.c @@ -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) { struct type *ctype = &cls->type; - struct class_member *pos, *last = NULL; + struct class_member *pos; uint16_t max_natural_alignment = 1; if (!tag__is_struct(class__tag(cls)))