mirror of
https://github.com/tezc/sc.git
synced 2025-01-14 06:43:04 +08:00
fix warnings
This commit is contained in:
parent
b51d81eb33
commit
b6889914fd
@ -1240,6 +1240,8 @@ int sc_sock_poll_add(struct sc_sock_poll *p, struct sc_sock_fd *fdt,
|
||||
int sc_sock_poll_del(struct sc_sock_poll *p, struct sc_sock_fd *fdt,
|
||||
enum sc_sock_ev events, void *data)
|
||||
{
|
||||
(void) data;
|
||||
|
||||
int rc, count = 0;
|
||||
struct kevent ev[2];
|
||||
int mask = fdt->op & events;
|
||||
|
Loading…
x
Reference in New Issue
Block a user