summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-02-13 18:50:38 +0100
committerBram Moolenaar <Bram@vim.org>2016-02-13 18:50:38 +0100
commite516c39ee97cb85fa230fbb1b1f54ad1346920d9 (patch)
tree29ca8f98a886707acb7f2d8dade8c17d3e99928e
parentbfa1ffca8bcce92c030d8366036a316954f1ee69 (diff)
downloadvim-git-7.4.1314.tar.gz
patch 7.4.1314v7.4.1314
Problem: Warning for uninitialzed variable. Solution: Initialize it. (Dominique Pelle)
-rw-r--r--src/channel.c2
-rw-r--r--src/version.c2
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,