patch 9.1.1313: compile warning about uninitialized value
Commit:
https://github.com/vim/vim/commit/b53d4fb63e0d4d36033d47ec35f2f302931f77ae
Author: Christian Brabandt <[email protected]>
Date: Wed Apr 16 21:12:30 2025 +0200
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 <[email protected]>
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,
/**/
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/vim_dev/E1u58SR-0072v6-Cc%40256bit.org.