From 42d2c5e803cec6ec661217fa1ae630a2f7c463bc Mon Sep 17 00:00:00 2001 From: Christian Brabandt Date: Wed, 25 Jun 2025 20:54:11 +0200 Subject: [PATCH] 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 --- src/ex_cmds.c | 2 +- src/version.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) 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, /**/