summaryrefslogtreecommitdiff
path: root/poll
diff options
context:
space:
mode:
authorStefan Fritsch <sf@apache.org>2013-01-26 20:42:41 +0000
committerStefan Fritsch <sf@apache.org>2013-01-26 20:42:41 +0000
commit55971642ad861e6fa2b31bc1b11bb5dff11092ef (patch)
tree3733165a6057a5782cd9fb3eff08159cef92cc0b /poll
parent0b4a33889441f9b04f6d0344be80b60b2f4465b9 (diff)
downloadapr-55971642ad861e6fa2b31bc1b11bb5dff11092ef.tar.gz
Minor fixes to quiet valgrind warnings
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1438959 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 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);