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>
diff --git a/src/insexpand.c b/src/insexpand.c
index c080d60..9b5e5de 100644
--- a/src/insexpand.c
+++ b/src/insexpand.c
@@ -3095,7 +3095,7 @@
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;