From: Yann Rouillard Date: Fri, 10 May 2013 02:04:22 +0000 (+0200) Subject: fix missing variable initialisation in elfdump X-Git-Tag: v0.22~66 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=19143941a9d33b92a6c389942b1d4981390b5520;p=pyelftools.git fix missing variable initialisation in elfdump --- diff --git a/scripts/elfdump.py b/scripts/elfdump.py index 400a29e..a7a14da 100755 --- a/scripts/elfdump.py +++ b/scripts/elfdump.py @@ -64,6 +64,7 @@ class Elfdump(object): def display_syminfo_table(self): """ Display the SUNW syminfo tables contained in the file """ + syminfo_section = None for section in self.elffile.iter_sections(): if isinstance(section, SUNWSyminfoTableSection): syminfo_section = section