commit | 55c5399846a55af036ed2e67c08484cc76c0d1c2 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Wed Feb 26 14:32:53 2020 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Wed Feb 26 14:36:27 2020 +0100 |
tree | f5165deb207bc31d0280302c2559271d0ca6f5ba | |
parent | c1563e5474b979bbde59464fa67a927603f112b7 [diff] |
MINOR: epoll: always initialize all of epoll_event to please valgrind valgrind complains that epoll_ctl() uses an epoll_event in which we have only set the part we use from the data field (i.e. the fd). Tests show that pre-initializing the struct in the stack doesn't have a measurable impact so let's do it.