Patch 9.0.1666

6 views
Skip to first unread message

Bram Moolenaar

unread,
Jun 26, 2023, 1:48:52 PM6/26/23
to vim...@googlegroups.com

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 -- Br...@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 ///
Reply all
Reply to author
Forward
0 new messages