From b53d4fb63e0d4d36033d47ec35f2f302931f77ae Mon Sep 17 00:00:00 2001 From: Christian Brabandt Date: Wed, 16 Apr 2025 21:12:30 +0200 Subject: [PATCH] patch 9.1.1313: compile warning about uninitialized value Problem: compile warning about uninitialized value (Tony Mechelynck, after v9.1.1311) Solution: initialize variable on declaration Signed-off-by: Christian Brabandt --- src/insexpand.c | 2 +- src/version.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/insexpand.c b/src/insexpand.c index 9a82a32bc..8673e7455 100644 --- a/src/insexpand.c +++ b/src/insexpand.c @@ -1474,7 +1474,7 @@ ins_compl_build_pum(void) compl_T *match_tail = NULL; compl_T *match_next = NULL; int update_shown_match = fuzzy_filter; - int match_count; + int match_count = 0; int cur_source = -1; int max_matches_found = FALSE; int is_forward = compl_shows_dir_forward() && !fuzzy_filter; diff --git a/src/version.c b/src/version.c index 2a51b4207..ef28005d9 100644 --- a/src/version.c +++ b/src/version.c @@ -704,6 +704,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1313, /**/ 1312, /**/