Skip to content

Commit

Permalink
Fallback: remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
Cloudef committed Jun 26, 2024
1 parent be8e2b3 commit 79c8d03
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/aio/Fallback.zig
Original file line number Diff line number Diff line change
Expand Up @@ -205,10 +205,6 @@ pub fn immediate(comptime len: u16, work: anytype) aio.Error!u16 {

fn finish(self: *@This(), id: u16, failure: Operation.Error) void {
debug("finish: {} {}", .{ id, failure });
// for (self.finished.items[0..self.finished.len]) |*i| if (i.id == id) {
// i.* = .{ .id = id, .failure = failure };
// return;
// };
self.finished.add(.{ .id = id, .failure = failure }) catch unreachable;
self.source.notify();
}
Expand Down

0 comments on commit 79c8d03

Please sign in to comment.