changeset 34605:6d3a5ef458cd v9.1.0194

patch 9.1.0194: gcc complains about uninitialized var Commit: https://github.com/vim/vim/commit/9eb236f455df75af858a37a3d98f190c977deaf4 Author: Christian Brabandt <cb@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 <cb@256bit.org>
author Christian Brabandt <cb@256bit.org>
date Thu, 21 Mar 2024 20:15:02 +0100
parents a7f393b7affb
children f0380cf28880
files src/insexpand.c src/version.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/insexpand.c
+++ b/src/insexpand.c
@@ -3095,7 +3095,7 @@ get_complete_info(list_T *what_list, dic
 
     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;
--- a/src/version.c
+++ b/src/version.c
@@ -705,6 +705,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    194,
+/**/
     193,
 /**/
     192,