summaryrefslogtreecommitdiff
path: root/shared/n-dhcp4/src/n-dhcp4-client.c
diff options
context:
space:
mode:
Diffstat (limited to 'shared/n-dhcp4/src/n-dhcp4-client.c')
-rw-r--r--shared/n-dhcp4/src/n-dhcp4-client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shared/n-dhcp4/src/n-dhcp4-client.c b/shared/n-dhcp4/src/n-dhcp4-client.c
index 1dedbf30c8..29363fbfbe 100644
--- a/shared/n-dhcp4/src/n-dhcp4-client.c
+++ b/shared/n-dhcp4/src/n-dhcp4-client.c
@@ -755,7 +755,7 @@ static int n_dhcp4_client_dispatch_io(NDhcp4Client *client, struct epoll_event *
* there is more data to dispatch.
*/
_c_public_ int n_dhcp4_client_dispatch(NDhcp4Client *client) {
- struct epoll_event events[2];
+ struct epoll_event events[2] = { };
int n, i, r = 0;
n = epoll_wait(client->fd_epoll, events, sizeof(events) / sizeof(*events), 0);