summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibDebug/DebugSession.cpp
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/DebugSession.cpp
parent5f7f063919cfdbe0fd6fd47bf5657b1394b2250e (diff)
downloadserenity-ca06fd658d936ce249bf02f7bdbb5e44dfcfab9f.zip
Everywhere: Remove unused local variables and lambda captures
Diffstat (limited to 'Userland/Libraries/LibDebug/DebugSession.cpp')
-rw-r--r--Userland/Libraries/LibDebug/DebugSession.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibDebug/DebugSession.cpp b/Userland/Libraries/LibDebug/DebugSession.cpp
index 766aad2fff..f7ab3a67a8 100644
--- a/Userland/Libraries/LibDebug/DebugSession.cpp
+++ b/Userland/Libraries/LibDebug/DebugSession.cpp
@@ -486,7 +486,7 @@ Optional<DebugSession::SymbolicationResult> DebugSession::symbolicate(FlatPtr ad
Optional<DebugInfo::SourcePositionAndAddress> DebugSession::get_address_from_source_position(String const& file, size_t line) const
{
Optional<DebugInfo::SourcePositionAndAddress> result;
- for_each_loaded_library([this, file, line, &result](auto& lib) {
+ for_each_loaded_library([file, line, &result](auto& lib) {
// The loader contains its own definitions for LibC symbols, so we don't want to include it in the search.
if (lib.name == "Loader.so")
return IterationDecision::Continue;