mirror of
https://github.com/genodelabs/genode.git
synced 2025-06-15 21:58:24 +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
@ -122,7 +122,7 @@ class Vfs::Rom_file_system : public Single_file_system
|
||||
|
||||
void _handle_rom_changed()
|
||||
{
|
||||
_handle_registry.for_each([this] (Registered_watch_handle &handle) {
|
||||
_handle_registry.for_each([] (Registered_watch_handle &handle) {
|
||||
handle.watch_response(); });
|
||||
}
|
||||
|
||||
|
@ -95,7 +95,7 @@ class Vfs::Rtc_file_system : public Single_file_system
|
||||
|
||||
void _handle_set_signal()
|
||||
{
|
||||
_handle_registry.for_each([this] (Registered_watch_handle &handle) {
|
||||
_handle_registry.for_each([] (Registered_watch_handle &handle) {
|
||||
handle.watch_response();
|
||||
});
|
||||
}
|
||||
|
@ -192,7 +192,7 @@ class Vfs::Terminal_file_system::Data_file_system : public Single_file_system
|
||||
_fetch_data_from_terminal(_terminal, _read_buffer, _interrupt_handler,
|
||||
_raw);
|
||||
|
||||
_handle_registry.for_each([this] (Registered_handle &handle) {
|
||||
_handle_registry.for_each([] (Registered_handle &handle) {
|
||||
if (handle.blocked) {
|
||||
handle.blocked = false;
|
||||
handle.io_progress_response();
|
||||
|
Reference in New Issue
Block a user