]> granicus.if.org Git - vim/commitdiff
patch 7.4.1314 v7.4.1314
authorBram Moolenaar <Bram@vim.org>
Sat, 13 Feb 2016 17:50:38 +0000 (18:50 +0100)
committerBram Moolenaar <Bram@vim.org>
Sat, 13 Feb 2016 17:50:38 +0000 (18:50 +0100)
Problem:    Warning for uninitialzed variable.
Solution:   Initialize it. (Dominique Pelle)

src/channel.c
src/version.c

index d810925f9e6937bda726854d28e7c56d0a6ce130..fa40a141b7723dcad76631f7541465b21a71d0cb 100644 (file)
@@ -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)
index f5f8f56d93182f2064c8504b79caa2c3d1f559c8..cd7d1ef0ed72e38aed48b0540d469535da3f0edd 100644 (file)
@@ -747,6 +747,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1314,
 /**/
     1313,
 /**/