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:
Piotr Tworek
2020-12-03 00:14:00 +01:00
committed by Norman Feske
parent 14c36efbab
commit 9dd04ad268
5 changed files with 5 additions and 5 deletions

View File

@ -108,7 +108,7 @@ class Vfs::Readonly_value_file_system : public Vfs::Single_file_system
{
_buffer = Buffer(value);
_handle_registry.for_each([this] (Registered_watch_handle &handle) {
_handle_registry.for_each([] (Registered_watch_handle &handle) {
handle.watch_response(); });
}