mirror of
https://github.com/genodelabs/genode.git
synced 2025-06-12 20:28:20 +00:00
os: Drop unused lambda captures in VFS code.
Clang likes to complain when lambdas capture parameters without actually using them. This patch fixes a couple of such problems in VFS related os module code. Issue #4421
This commit is contained in:
committed by
Norman Feske
parent
14c36efbab
commit
9dd04ad268
@ -1011,7 +1011,7 @@ class Vfs::Dir_file_system : public File_system
|
||||
Dir_vfs_handle *dir_vfs_handle =
|
||||
static_cast<Dir_vfs_handle*>(vfs_handle);
|
||||
|
||||
auto f = [&result, dir_vfs_handle] (Dir_vfs_handle::Subdir_handle_element &e) {
|
||||
auto f = [&result] (Dir_vfs_handle::Subdir_handle_element &e) {
|
||||
if (e.synced)
|
||||
return;
|
||||
|
||||
|
Reference in New Issue
Block a user