diff --git a/src/nvim/os/pty_proc_unix.c b/src/nvim/os/pty_proc_unix.c index 9e9303ed48..e629b328fd 100644 --- a/src/nvim/os/pty_proc_unix.c +++ b/src/nvim/os/pty_proc_unix.c @@ -408,7 +408,7 @@ static void chld_handler(uv_signal_t *handle, int signum) PtyProc pty_proc_init(Loop *loop, void *data) { - PtyProc rv; + PtyProc rv = { 0 }; rv.proc = proc_init(loop, kProcTypePty, data); rv.width = 80; rv.height = 24;