diff --git a/sapi/fpm/fpm/events/epoll.c b/sapi/fpm/fpm/events/epoll.c index 8b7e476ff44..8a3c5306dce 100644 --- a/sapi/fpm/fpm/events/epoll.c +++ b/sapi/fpm/fpm/events/epoll.c @@ -164,6 +164,10 @@ static int fpm_event_epoll_add(struct fpm_event_s *ev) /* {{{ */ struct epoll_event e; /* fill epoll struct */ +#if SIZEOF_SIZE_T == 4 + /* Completely initialize event data to prevent valgrind reports */ + e.data.u64 = 0; +#endif e.events = EPOLLIN; e.data.fd = ev->fd; e.data.ptr = (void *)ev;