To: vim_dev@googlegroups.com Subject: Patch 7.4.1631 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 7.4.1631 Problem: Compiler doesn't understand switch on all enum values. (Tony Mechelynck) Solution: Initialize variable. Files: src/channel.c *** ../vim-7.4.1630/src/channel.c 2016-03-21 12:36:24.598191820 +0100 --- src/channel.c 2016-03-21 22:18:03.495506145 +0100 *************** *** 2100,2106 **** chanpart_T *chanpart = &channel->ch_part[part]; char namebuf[20]; size_t tail; ! char *s; STRCPY(namebuf, name); STRCAT(namebuf, "_"); --- 2100,2106 ---- chanpart_T *chanpart = &channel->ch_part[part]; char namebuf[20]; size_t tail; ! char *s = ""; STRCPY(namebuf, name); STRCAT(namebuf, "_"); *** ../vim-7.4.1630/src/version.c 2016-03-21 22:15:25.493161847 +0100 --- src/version.c 2016-03-21 22:30:22.343773927 +0100 *************** *** 750,751 **** --- 750,753 ---- { /* Add new patch number below this line */ + /**/ + 1631, /**/ -- I AM THANKFUL... ...for all the complaining I hear about the government because it means we have freedom of speech. /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///