diff --git a/main.py b/main.py index 24ea1ef..8829611 100644 --- a/main.py +++ b/main.py @@ -2,7 +2,6 @@ import os import sys -import math import argparse from dwex import formats from elftools.dwarf.locationlists import LocationParser, LocationExpr @@ -195,8 +194,6 @@ class Bear(): elif die_type.tag == 'DW_TAG_structure_type': load_children(die_type) child_dies = [] - child_offset = 0 - child_offset_bit = 0 for child_die in die_type._children: if child_die.tag != 'DW_TAG_member' and not configuration['all_members']: continue