Remove unused code

Signed-off-by: Juraj Oravec <jurajoravec@mailo.com>
This commit is contained in:
Juraj Oravec 2024-05-30 21:15:30 +02:00
parent 97f7e89e93
commit b520e6d0f5
Signed by: SGOrava
GPG Key ID: 13660A3F1D9F093B

View File

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