Skip to content

Commit

Permalink
If we're going to use mem::zeroed, we might as well use it.
Browse files Browse the repository at this point in the history
  • Loading branch information
asomers authored and Thomasdezeeuw committed May 8, 2022
1 parent 324abc5 commit 5b7d8e2
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/sys/unix/selector/kqueue.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,6 @@ macro_rules! kevent {
ident: $id as libc::uintptr_t,
filter: $filter as Filter,
flags: $flags,
fflags: 0,
data: 0,
udata: $data as UData,
..unsafe { mem::zeroed() }
}
Expand Down

0 comments on commit 5b7d8e2

Please sign in to comment.