summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibDebug/Dwarf
diff options
context:
space:
mode:
authorDaniel Bertalan <dani@danielbertalan.dev>2021-07-05 18:13:42 +0200
committerGunnar Beutner <gunnar@beutner.name>2021-07-08 10:11:00 +0200
commitca06fd658d936ce249bf02f7bdbb5e44dfcfab9f (patch)
tree9e95510a88e1577ba624fedbf10fd213f221f12a /Userland/Libraries/LibDebug/Dwarf
parent5f7f063919cfdbe0fd6fd47bf5657b1394b2250e (diff)
downloadserenity-ca06fd658d936ce249bf02f7bdbb5e44dfcfab9f.zip
Everywhere: Remove unused local variables and lambda captures
Diffstat (limited to 'Userland/Libraries/LibDebug/Dwarf')
-rw-r--r--Userland/Libraries/LibDebug/Dwarf/DwarfInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibDebug/Dwarf/DwarfInfo.cpp b/Userland/Libraries/LibDebug/Dwarf/DwarfInfo.cpp
index 8a15c7c0bf..e912740bd7 100644
--- a/Userland/Libraries/LibDebug/Dwarf/DwarfInfo.cpp
+++ b/Userland/Libraries/LibDebug/Dwarf/DwarfInfo.cpp
@@ -241,7 +241,7 @@ void DwarfInfo::build_cached_dies() const
m_cached_dies_by_range.insert(range.start_address, DIEAndRange { die, range });
m_cached_dies_by_offset.insert(die.offset(), die);
};
- auto get_ranges_of_die = [this](DIE const& die) -> Vector<DIERange> {
+ auto get_ranges_of_die = [](DIE const& die) -> Vector<DIERange> {
// TODO support DW_AT_ranges (appears when range is non-contiguous)
auto start = die.get_attribute(Attribute::LowPc);