summaryrefslogtreecommitdiff
path: root/poll
diff options
context:
space:
mode:
authorStefan Fritsch <sf@apache.org>2014-05-14 20:15:47 +0000
committerStefan Fritsch <sf@apache.org>2014-05-14 20:15:47 +0000
commit0d487fa104f8da7126334ad767caffd157d5ccc5 (patch)
tree04513be025e5ec42a4465b2a579f2e4fd15726b6 /poll
parent4d8845fcb4179fddd89477fee852840593f66025 (diff)
downloadapr-0d487fa104f8da7126334ad767caffd157d5ccc5.tar.gz
Merge r1438959 from trunk:
Minor fixes to quiet valgrind warnings git-svn-id: https://svn.apache.org/repos/asf/apr/apr/branches/1.6.x@1594700 13f79535-47bb-0310-9956-ffa450edef68
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 326dac7b1..25e85f018 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);