From b520e6d0f5d661f6afdda64d174b60cfa51d2fa4 Mon Sep 17 00:00:00 2001 From: Juraj Oravec Date: Thu, 30 May 2024 21:15:30 +0200 Subject: [PATCH] Remove unused code Signed-off-by: Juraj Oravec --- main.py | 3 --- 1 file changed, 3 deletions(-) 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