# HG changeset patch # User Bram Moolenaar # Date 1687802403 -7200 # Node ID 031c73248fa7ded6dd06fc004c434eb438feb3b0 # Parent 695b50472e8516b345780006009558da7968f1f8 patch 9.0.1666: compiler may warn for uninitialized variable Commit: https://github.com/vim/vim/commit/a2a90d5e202c3f8c5cbbf945b94833007b5711e7 Author: Christian Brabandt Date: Mon Jun 26 18:48:09 2023 +0100 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 https://github.com/vim/vim/issues/12599) diff --git a/src/memline.c b/src/memline.c --- a/src/memline.c +++ b/src/memline.c @@ -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; diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -696,6 +696,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1666, +/**/ 1665, /**/ 1664,