# HG changeset patch # User Christian Brabandt # Date 1458596705 -3600 # Node ID 6e567914f55adac4926cffeb2be735f10f2f791b # Parent 3b0b5ef9c155aa4dff950363d74d0a987461d84e commit https://github.com/vim/vim/commit/573e445664eef399a72b1bfc975260a639605fef Author: Bram Moolenaar Date: Mon Mar 21 22:35:10 2016 +0100 patch 7.4.1631 Problem: Compiler doesn't understand switch on all enum values. (Tony Mechelynck) Solution: Initialize variable. diff --git a/src/channel.c b/src/channel.c --- a/src/channel.c +++ b/src/channel.c @@ -2100,7 +2100,7 @@ channel_part_info(channel_T *channel, di chanpart_T *chanpart = &channel->ch_part[part]; char namebuf[20]; size_t tail; - char *s; + char *s = ""; STRCPY(namebuf, name); STRCAT(namebuf, "_"); diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -749,6 +749,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1631, +/**/ 1630, /**/ 1629,