diff --git a/src/nightwatch.zig b/src/nightwatch.zig index 6ec102c..2eaeee1 100644 --- a/src/nightwatch.zig +++ b/src/nightwatch.zig @@ -410,8 +410,6 @@ const FSEventsBackend = struct { fn remove_watch(self: *@This(), allocator: std.mem.Allocator, path: []const u8) void { if (self.watches.fetchSwapRemove(path)) |entry| allocator.free(entry.key); } - - fn drain(_: *@This(), _: std.mem.Allocator, _: tp.pid_ref) tp.result {} }; const KQueueBackend = struct { @@ -528,10 +526,6 @@ const KQueueBackend = struct { allocator.free(entry.key); } } - - fn drain(_: *@This(), _: std.mem.Allocator, _: tp.pid_ref) tp.result { - // Events are sent directly from thread_fn; nothing to do here. - } }; const WindowsBackend = struct {