From 440953b5b5545545ac1961f68e126bd9f09ab1a8 Mon Sep 17 00:00:00 2001 From: Petr Machata Date: Mon, 7 Mar 2011 07:59:55 +0100 Subject: [PATCH] dwarflint: Drop useless variable prev_abbrev in check_debug_info --- dwarflint/check_debug_info.cc | 2 -- 1 file changed, 2 deletions(-) diff --git a/dwarflint/check_debug_info.cc b/dwarflint/check_debug_info.cc index e13b0fe69..242224f74 100644 --- a/dwarflint/check_debug_info.cc +++ b/dwarflint/check_debug_info.cc @@ -519,7 +519,6 @@ namespace uint64_t sibling_addr = 0; uint64_t die_off, prev_die_off = 0; struct abbrev *abbrev = NULL; - struct abbrev *prev_abbrev = NULL; struct where where = WHERE (sec_info, NULL); struct value_check_cb_ctx cb_ctx = { @@ -598,7 +597,6 @@ namespace std::cerr << where << ": abbrev " << abbr_code << std::endl; /* Find the abbrev matching the code. */ - prev_abbrev = abbrev; abbrev = abbrevs->find_abbrev (abbr_code); if (abbrev == NULL) { -- 2.47.2