diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-02-13 18:50:38 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-02-13 18:50:38 +0100 |
commit | e516c39ee97cb85fa230fbb1b1f54ad1346920d9 (patch) | |
tree | 29ca8f98a886707acb7f2d8dade8c17d3e99928e | |
parent | bfa1ffca8bcce92c030d8366036a316954f1ee69 (diff) | |
download | vim-git-e516c39ee97cb85fa230fbb1b1f54ad1346920d9.tar.gz |
patch 7.4.1314v7.4.1314
Problem: Warning for uninitialzed variable.
Solution: Initialize it. (Dominique Pelle)
-rw-r--r-- | src/channel.c | 2 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/channel.c b/src/channel.c index d810925f9..fa40a141b 100644 --- a/src/channel.c +++ b/src/channel.c @@ -1537,7 +1537,7 @@ channel_send(int ch_idx, char_u *buf, char *fun) channel_T *channel = &channels[ch_idx]; int len = (int)STRLEN(buf); int res; - int fd; + int fd = -1; int use_socket = FALSE; if (channel->ch_sock >= 0) diff --git a/src/version.c b/src/version.c index f5f8f56d9..cd7d1ef0e 100644 --- a/src/version.c +++ b/src/version.c @@ -748,6 +748,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1314, +/**/ 1313, /**/ 1312, |