Get rid of implicit memset

This commit is contained in:
twinaphex 2017-06-08 21:38:05 +02:00
parent f86f1b3e32
commit b633b8ad2d

View File

@ -50,7 +50,7 @@ int epoll_waiting(int *epoll_fd, void *events, int maxevents, int timeout)
bool epoll_add(int *epoll_fd, int fd, void *device)
{
struct epoll_event event = {0};
struct epoll_event event;
event.events = EPOLLIN;
event.data.ptr = device;