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,
 /**/

-- 
-- 
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 vim_dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/E1rnNsU-00FPKf-JN%40256bit.org.

Raspunde prin e-mail lui