mirror of
https://github.com/libretro/RetroArch
synced 2025-04-03 10:21:31 +00:00
Get rid of implicit memset
This commit is contained in:
parent
f86f1b3e32
commit
b633b8ad2d
@ -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)
|
bool epoll_add(int *epoll_fd, int fd, void *device)
|
||||||
{
|
{
|
||||||
struct epoll_event event = {0};
|
struct epoll_event event;
|
||||||
|
|
||||||
event.events = EPOLLIN;
|
event.events = EPOLLIN;
|
||||||
event.data.ptr = device;
|
event.data.ptr = device;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user