aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/channel.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/channel.c')
-rw-r--r--src/nvim/channel.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/nvim/channel.c b/src/nvim/channel.c
index 6278f84190..7a71be58c1 100644
--- a/src/nvim/channel.c
+++ b/src/nvim/channel.c
@@ -279,13 +279,11 @@ static void channel_destroy_early(Channel *chan)
multiqueue_put(main_loop.events, free_channel_event, 1, chan);
}
-
static void close_cb(Stream *stream, void *data)
{
channel_decref(data);
}
-
/// Starts a job and returns the associated channel
///
/// @param[in] argv Arguments vector specifying the command to run,
@@ -416,7 +414,6 @@ Channel *channel_job_start(char **argv, CallbackReader on_stdout, CallbackReader
return chan;
}
-
uint64_t channel_connect(bool tcp, const char *address, bool rpc, CallbackReader on_output,
int timeout, const char **error)
{
@@ -555,7 +552,6 @@ size_t channel_send(uint64_t id, char *data, size_t len, bool data_owned, const
goto retfree;
}
-
Stream *in = channel_instream(chan);
if (in->closed) {
*error = _("Can't send data to closed stream");
@@ -756,7 +752,6 @@ static void channel_callback_call(Channel *chan, CallbackReader *reader)
tv_clear(&rettv);
}
-
/// Open terminal for channel
///
/// Channel `chan` is assumed to be an open pty channel,