From d8cd3fe302b7063236f7c87599fa7eef8f3c8d29 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Thu, 22 Jan 2015 20:11:07 +0000 Subject: [PATCH 01/10] socket_set_epoll_add: initialize all bytes of struct epoll_event This should be a no-op, but it shuts Valgrind up. --- dbus/dbus-socket-set-epoll.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dbus/dbus-socket-set-epoll.c b/dbus/dbus-socket-set-epoll.c index 4cd9a56..07538cb 100644 --- a/dbus/dbus-socket-set-epoll.c +++ b/dbus/dbus-socket-set-epoll.c @@ -144,6 +144,7 @@ socket_set_epoll_add (DBusSocketSet *set, struct epoll_event event; int err; + _DBUS_ZERO (event); event.data.fd = fd; if (enabled) -- 2.1.4