summaryrefslogtreecommitdiff
path: root/poll
diff options
context:
space:
mode:
Diffstat (limited to 'poll')
-rw-r--r--poll/unix/epoll.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/poll/unix/epoll.c b/poll/unix/epoll.c
index 8013ead93..965e2833c 100644
--- a/poll/unix/epoll.c
+++ b/poll/unix/epoll.c
@@ -366,7 +366,7 @@ static apr_status_t impl_pollcb_create(apr_pollcb_t *pollcb,
static apr_status_t impl_pollcb_add(apr_pollcb_t *pollcb,
apr_pollfd_t *descriptor)
{
- struct epoll_event ev;
+ struct epoll_event ev = { 0 };
int ret;
ev.events = get_epoll_event(descriptor->reqevents);