From: Christian Brabandt Date: Mon, 26 Jun 2023 17:48:09 +0000 (+0100) Subject: patch 9.0.1666: compiler may warn for uninitialized variable X-Git-Tag: v9.0.1666 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a2a90d5e202c3f8c5cbbf945b94833007b5711e7;p=thirdparty%2Fvim.git 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) --- diff --git a/src/memline.c b/src/memline.c index 46e7d8a796..3483f09ae8 100644 --- 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 index 9c451aef7a..948a94800e 100644 --- a/src/version.c +++ b/src/version.c @@ -695,6 +695,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1666, /**/ 1665, /**/