aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2017-05-31 03:37:29 +0200
committerJustin M. Keyes <justinkz@gmail.com>2017-05-31 14:10:04 +0200
commitfcc9d999670c6fb29ac01e9c8d0a7e787ccfabea (patch)
treeea7fce48ce2be0489128d3faf869afd4e86f8530 /src
parent033b1cb7d9837699aba14ca1c0bda0058edc79fd (diff)
downloadrneovim-fcc9d999670c6fb29ac01e9c8d0a7e787ccfabea.tar.gz
rneovim-fcc9d999670c6fb29ac01e9c8d0a7e787ccfabea.tar.bz2
rneovim-fcc9d999670c6fb29ac01e9c8d0a7e787ccfabea.zip
channel_write: fix compiler warning
Diffstat (limited to 'src')
-rw-r--r--src/nvim/msgpack_rpc/channel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/msgpack_rpc/channel.c b/src/nvim/msgpack_rpc/channel.c
index e8ee0ede75..413b800af5 100644
--- a/src/nvim/msgpack_rpc/channel.c
+++ b/src/nvim/msgpack_rpc/channel.c
@@ -532,7 +532,7 @@ static void on_request_event(void **argv)
static bool channel_write(Channel *channel, WBuffer *buffer)
{
- bool success;
+ bool success = false;
if (channel->closed) {
wstream_release_wbuffer(buffer);