Remove unused code
Signed-off-by: Juraj Oravec <jurajoravec@mailo.com>
This commit is contained in:
parent
97f7e89e93
commit
b520e6d0f5
3
main.py
3
main.py
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user