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 -- [email protected] -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/20230626174847.36E1E1C054C%40moolenaar.net.