fix warnings

This commit is contained in:
tezc 2021-02-07 22:36:57 +03:00
parent b51d81eb33
commit b6889914fd

View File

@ -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;