0
0
mirror of https://github.com/vim/vim.git synced 2025-10-14 07:04:10 -04:00

patch 9.0.1666: compiler may warn for uninitialized variable

Problem:    Compiler may warn for uninitialized variable.
Solution:   Initialize this_props_len. (Christian Brabandt, closes #12599)
This commit is contained in:
Christian Brabandt
2023-06-26 18:48:09 +01:00
committed by Bram Moolenaar
parent 590aae3557
commit a2a90d5e20
2 changed files with 3 additions and 1 deletions

View File

@@ -3626,7 +3626,7 @@ adjust_text_props_for_delete(
int idx;
int line_start;
long line_size;
int this_props_len;
int this_props_len = 0;
char_u *text;
size_t textlen;
int found;