From 1919a4aed60dc9c95aef10974dc6945f01832377 Mon Sep 17 00:00:00 2001 From: Niels Provos Date: Thu, 31 Mar 2005 19:53:06 +0000 Subject: [PATCH] suppress valgrind warnings from knew -a- pimb.org svn:r138 --- epoll.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/epoll.c b/epoll.c index f4029937..1b483e1d 100644 --- a/epoll.c +++ b/epoll.c @@ -249,7 +249,7 @@ int epoll_add(void *arg, struct event *ev) { struct epollop *epollop = arg; - struct epoll_event epev; + struct epoll_event epev = {0, {0}}; struct evepoll *evep; int fd, op, events; @@ -297,7 +297,7 @@ int epoll_del(void *arg, struct event *ev) { struct epollop *epollop = arg; - struct epoll_event epev; + struct epoll_event epev = {0, {0}}; struct evepoll *evep; int fd, events, op; int needwritedelete = 1, needreaddelete = 1; -- 2.40.0