reorganize: Ditch unused variable

Addressing this compiler warning:

  [ 56%] Building C object CMakeFiles/dwarves_reorganize.dir/dwarves_reorganize.c.o
  /home/acme/git/pahole/dwarves_reorganize.c: In function ‘class__move_bit_member’:
  /home/acme/git/pahole/dwarves_reorganize.c:356:16: error: unused variable ‘is_last_member’ [-Werror=unused-variable]
    const uint8_t is_last_member = (from->tag.node.next ==

Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:
Arnaldo Carvalho de Melo 2019-07-02 12:24:46 -03:00
parent c419c513ea
commit 2221ae30bc
1 changed files with 0 additions and 2 deletions

View File

@ -353,8 +353,6 @@ static void class__move_bit_member(struct class *class, const struct cu *cu,
struct class_member *from_prev = list_entry(from->tag.node.prev,
struct class_member,
tag.node);
const uint8_t is_last_member = (from->tag.node.next ==
class__tags(class));
if (verbose)
fprintf(fp, "/* Moving '%s:%u' from after '%s' to "