To: vim_dev@googlegroups.com Subject: Patch 9.0.0378 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 9.0.0378 (after 9.0.0374) Problem: Compiler warning for uninitialized variable. (Tony Mechelynck) Solution: Initialize it. Files: src/spellfile.c *** ../vim-9.0.0377/src/spellfile.c 2022-09-04 11:55:16.154941174 +0100 --- src/spellfile.c 2022-09-04 13:43:56.063482484 +0100 *************** *** 841,847 **** read_region_section(FILE *fd, slang_T *lp, int len) { int i; ! int c; if (len > MAXREGIONS * 2) return SP_FORMERROR; --- 841,847 ---- read_region_section(FILE *fd, slang_T *lp, int len) { int i; ! int c = 0; if (len > MAXREGIONS * 2) return SP_FORMERROR; *** ../vim-9.0.0377/src/version.c 2022-09-04 13:41:31.183585396 +0100 --- src/version.c 2022-09-04 13:44:57.163434661 +0100 *************** *** 705,706 **** --- 705,708 ---- { /* Add new patch number below this line */ + /**/ + 378, /**/ -- I think that you'll agree that engineers are very effective in their social interactions. It's the "normal" people who are nuts. (Scott Adams - The Dilbert principle) /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// \\\ \\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///