From ca06fd658d936ce249bf02f7bdbb5e44dfcfab9f Mon Sep 17 00:00:00 2001 From: Daniel Bertalan Date: Mon, 5 Jul 2021 18:13:42 +0200 Subject: Everywhere: Remove unused local variables and lambda captures --- Userland/Libraries/LibDebug/Dwarf/DwarfInfo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Userland/Libraries/LibDebug/Dwarf') 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 { + auto get_ranges_of_die = [](DIE const& die) -> Vector { // TODO support DW_AT_ranges (appears when range is non-contiguous) auto start = die.get_attribute(Attribute::LowPc); -- cgit v1.2.3