Skip to content

Commit e516c39

Browse files
committed
patch 7.4.1314
Problem: Warning for uninitialzed variable. Solution: Initialize it. (Dominique Pelle)
1 parent bfa1ffc commit e516c39

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/channel.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1537,7 +1537,7 @@ channel_send(int ch_idx, char_u *buf, char *fun)
15371537
channel_T *channel = &channels[ch_idx];
15381538
int len = (int)STRLEN(buf);
15391539
int res;
1540-
int fd;
1540+
int fd = -1;
15411541
int use_socket = FALSE;
15421542

15431543
if (channel->ch_sock >= 0)

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -747,6 +747,8 @@ static char *(features[]) =
747747

748748
static int included_patches[] =
749749
{ /* Add new patch number below this line */
750+
/**/
751+
1314,
750752
/**/
751753
1313,
752754
/**/

0 commit comments

Comments
 (0)