From 0930e2323b4399a9abb742947817d7547380ce07 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Mon, 28 Sep 2020 22:24:27 +0200 Subject: Kernel: Remove unnecessary capture in sys$execve() --- Kernel/Syscalls/execve.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Kernel/Syscalls/execve.cpp b/Kernel/Syscalls/execve.cpp index 03d1597ebc..ac8492745d 100644 --- a/Kernel/Syscalls/execve.cpp +++ b/Kernel/Syscalls/execve.cpp @@ -578,7 +578,7 @@ int Process::sys$execve(Userspace user_params) path = path_arg.value(); } - auto copy_user_strings = [this](const auto& list, auto& output) { + auto copy_user_strings = [](const auto& list, auto& output) { if (!list.length) return true; Checked size = sizeof(list.length); -- cgit v1.2.3