From 4eb19ad250db33b895378c9b2937af00b23a8ab0 Mon Sep 17 00:00:00 2001 From: Eli Bendersky Date: Sat, 30 Mar 2013 20:34:57 -0700 Subject: [PATCH] remove some dead code --- scripts/readelf.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/scripts/readelf.py b/scripts/readelf.py index 29efb7f..8c1b0f8 100755 --- a/scripts/readelf.py +++ b/scripts/readelf.py @@ -288,12 +288,10 @@ class ReadElf(object): def display_dynamic_tags(self): """ Display the dynamic tags contained in the file """ - has_dynamic_section = False for section in self.elffile.iter_sections(): if not isinstance(section, DynamicSection): continue - has_relocation_sections = True self._emitline("\nDynamic section at offset %s contains %s entries:" % ( self._format_hex(section['sh_offset']), section.num_tags())) -- 2.30.2