From: Christian Brabandt Date: Wed, 25 Jun 2025 18:54:11 +0000 (+0200) Subject: patch 9.1.1481: gcc complains about uninitialized variable X-Git-Tag: v9.1.1481^0 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=42d2c5e803cec6ec661217fa1ae630a2f7c463bc;p=thirdparty%2Fvim.git patch 9.1.1481: gcc complains about uninitialized variable Problem: gcc complains about uninitialized variable (Tony Mechelynck, after v9.1.1476) Solution: initialize variable Signed-off-by: Christian Brabandt --- diff --git a/src/ex_cmds.c b/src/ex_cmds.c index c4a86c90e9..5d9b722136 100644 --- a/src/ex_cmds.c +++ b/src/ex_cmds.c @@ -656,7 +656,7 @@ ex_uniq(exarg_T *eap) linenr_T count = eap->line2 - eap->line1 + 1; char_u *p; char_u *s; - char_u save_c; // temporary character storage + char_u save_c = 0; // temporary character storage int keep_only_unique = FALSE; int keep_only_not_unique = eap->forceit ? TRUE : FALSE; long deleted = 0; diff --git a/src/version.c b/src/version.c index 3b5a3da74c..c7c66ec0bc 100644 --- a/src/version.c +++ b/src/version.c @@ -709,6 +709,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1481, /**/ 1480, /**/