aboutsummaryrefslogtreecommitdiffstats
path: root/lib/utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/utils.c')
-rw-r--r--lib/utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/utils.c b/lib/utils.c
index 37bcce9..d66bc78 100644
--- a/lib/utils.c
+++ b/lib/utils.c
@@ -199,7 +199,7 @@ bool icipc_epoll_thread_init(
icipc_epoll_thread_event_func_t sock_func,
icipc_epoll_thread_event_func_t other_func,
void *data) {
- struct epoll_event event;
+ struct epoll_event event = {0};
self->socket_fd = socket_fd;
self->event_fd = -1;