patch 9.1.0194: gcc complains about uninitialized var
Commit:
https://github.com/vim/vim/commit/9eb236f455df75af858a37a3d98f190c977deaf4
Author: Christian Brabandt <
c...@256bit.org>
Date: Thu Mar 21 20:12:59 2024 +0100
patch 9.1.0194: gcc complains about uninitialized var
Problem: gcc complains about uninitialized var
(Tony Mechelynck)
Solution: initialize to NULL
Signed-off-by: Christian Brabandt <
c...@256bit.org>
diff --git a/src/insexpand.c b/src/insexpand.c
index c080d60cd..9b5e5de64 100644
--- a/src/insexpand.c
+++ b/src/insexpand.c
@@ -3095,7 +3095,7 @@ get_complete_info(list_T *what_list, dict_T *retdict)
if (ret == OK && (what_flag & CI_WHAT_ITEMS || what_flag & CI_WHAT_SELECTED))
{
- list_T *li;
+ list_T *li = NULL;
dict_T *di;
compl_T *match;
int selected_idx = -1;
diff --git a/src/version.c b/src/version.c
index 8fa2f694d..8a801686f 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 */
+/**/
+ 194,
/**/
193,
/**/