From d6f856f2f210bb4a8273dff8ea696b0c688c0abc Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sat, 24 Apr 2021 07:43:02 +0530 Subject: [PATCH] Fix https://trac.macports.org/ticket/62732 --- kitty/child-monitor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kitty/child-monitor.c b/kitty/child-monitor.c index 02275c107..84bddb564 100644 --- a/kitty/child-monitor.c +++ b/kitty/child-monitor.c @@ -1499,7 +1499,7 @@ talk_loop(void *data) { ChildMonitor *self = (ChildMonitor*)data; set_thread_name("KittyPeerMon"); if (!init_loop_data(&talk_data.loop_data)) { log_error("Failed to create wakeup fd for talk thread with error: %s", strerror(errno)); } - PollFD fds[PEER_LIMIT + 8] = {0}; + PollFD fds[PEER_LIMIT + 8] = {{0}}; size_t num_listen_fds = 0, num_peer_fds = 0; #define add_listener(which) \ if (self->which > -1) { \