]> git.ipfire.org Git - thirdparty/elfutils.git/commitdiff
dwarflint: check_linkage_external_die.cc (is_external): Remove unused entry.
authorMark Wielaard <mjw@redhat.com>
Thu, 21 Apr 2011 12:57:45 +0000 (14:57 +0200)
committerMark Wielaard <mjw@redhat.com>
Thu, 21 Apr 2011 12:57:45 +0000 (14:57 +0200)
dwarflint/check_linkage_external_die.cc

index 74d2ad4be6c69cdf17d43b6c5e6d3f0f93f75d2c..d01c45d738d7d95ad53fb216f2b9fcd11df3c7e6 100644 (file)
@@ -99,7 +99,6 @@ namespace
 
     static bool is_external (all_dies_iterator<dwarf> const &it)
     {
-      dwarf::debug_info_entry entry = *it;
       dwarf::debug_info_entry::attributes_type attrs = (*it).attributes ();
       dwarf::debug_info_entry::attributes_type::const_iterator external
        = attrs.find_integrate (DW_AT_external);