aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/os/pty_process_win.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/os/pty_process_win.c')
-rw-r--r--src/nvim/os/pty_process_win.c12
1 files changed, 5 insertions, 7 deletions
diff --git a/src/nvim/os/pty_process_win.c b/src/nvim/os/pty_process_win.c
index 5bbd22c610..6233a90638 100644
--- a/src/nvim/os/pty_process_win.c
+++ b/src/nvim/os/pty_process_win.c
@@ -47,9 +47,9 @@ int pty_process_spawn(PtyProcess *ptyproc)
assert(proc->err.closed);
- if (!os_has_conpty_working()
- || (conpty_object =
- os_conpty_init(&in_name, &out_name, ptyproc->width, ptyproc->height)) == NULL) {
+ if (!os_has_conpty_working() || (conpty_object = os_conpty_init(&in_name,
+ &out_name, ptyproc->width,
+ ptyproc->height)) == NULL) {
status = UV_ENOSYS;
goto cleanup;
}
@@ -172,13 +172,11 @@ void pty_process_close(PtyProcess *ptyproc)
void pty_process_close_master(PtyProcess *ptyproc)
FUNC_ATTR_NONNULL_ALL
-{
-}
+{}
void pty_process_teardown(Loop *loop)
FUNC_ATTR_NONNULL_ALL
-{
-}
+{}
static void pty_process_connect_cb(uv_connect_t *req, int status)
FUNC_ATTR_NONNULL_ALL