To: vim_dev@googlegroups.com Subject: Patch 9.0.1666 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 9.0.1666 Problem: Compiler may warn for uninitialized variable. Solution: Initialize this_props_len. (Christian Brabandt, closes #12599) Files: src/memline.c *** ../vim-9.0.1665/src/memline.c 2023-05-31 17:12:07.888535653 +0100 --- src/memline.c 2023-06-26 18:43:20.299832922 +0100 *************** *** 3626,3632 **** int idx; int line_start; long line_size; ! int this_props_len; char_u *text; size_t textlen; int found; --- 3626,3632 ---- int idx; int line_start; long line_size; ! int this_props_len = 0; char_u *text; size_t textlen; int found; *** ../vim-9.0.1665/src/version.c 2023-06-25 22:34:15.964340916 +0100 --- src/version.c 2023-06-26 12:07:28.803380878 +0100 *************** *** 697,698 **** --- 697,700 ---- { /* Add new patch number below this line */ + /**/ + 1666, /**/ -- Married is a three ring circus: First comes the engagement ring. Then comes the wedding ring. Then comes the suffering. /// 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 ///