1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 12:38:12 +00:00

Kernel: Remove unnecessary capture in sys$execve()

This commit is contained in:
Andreas Kling 2020-09-28 22:24:27 +02:00
parent f88a7cd4e1
commit 0930e2323b

View file

@ -578,7 +578,7 @@ int Process::sys$execve(Userspace<const Syscall::SC_execve_params*> 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);