From: Bram Moolenaar Date: Mon, 21 Mar 2016 21:35:10 +0000 (+0100) Subject: patch 7.4.1631 X-Git-Tag: v7.4.1631 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=573e445664eef399a72b1bfc975260a639605fef;p=vim 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 index 1f6df415c..64393f974 100644 --- a/src/channel.c +++ b/src/channel.c @@ -2100,7 +2100,7 @@ channel_part_info(channel_T *channel, dict_T *dict, char *name, int part) 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 index 808cee79e..bc119482b 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 */ +/**/ + 1631, /**/ 1630, /**/