To: vim_dev@googlegroups.com Subject: Patch 9.0.0161 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 9.0.0161 Problem: Warning for uninitialized variable. (Tony Mechelynck) Solution: Initialize line_attr_save. Files: src/drawline.c *** ../vim-9.0.0160/src/drawline.c 2022-08-06 22:23:36.205601229 +0100 --- src/drawline.c 2022-08-06 22:34:13.136095663 +0100 *************** *** 588,594 **** || defined(FEAT_SYN_HL) || defined(FEAT_DIFF) # define LINE_ATTR int line_attr = 0; // attribute for the whole line ! int line_attr_save; #endif #ifdef FEAT_SIGNS int sign_present = FALSE; --- 588,594 ---- || defined(FEAT_SYN_HL) || defined(FEAT_DIFF) # define LINE_ATTR int line_attr = 0; // attribute for the whole line ! int line_attr_save = 0; #endif #ifdef FEAT_SIGNS int sign_present = FALSE; *** ../vim-9.0.0160/src/version.c 2022-08-06 22:23:36.205601229 +0100 --- src/version.c 2022-08-06 22:37:46.196528656 +0100 *************** *** 737,738 **** --- 737,740 ---- { /* Add new patch number below this line */ + /**/ + 161, /**/ -- hundred-and-one symptoms of being an internet addict: 265. Your reason for not staying in touch with family is that they do not have e-mail addresses. /// 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 ///