diff options
author | Christian Brabandt <cb@256bit.org> | 2024-03-21 20:12:59 +0100 |
---|---|---|
committer | Christian Brabandt <cb@256bit.org> | 2024-03-21 20:12:59 +0100 |
commit | 9eb236f455df75af858a37a3d98f190c977deaf4 (patch) | |
tree | 3812bd83453f38832f1327a6343fcf92651edd45 | |
parent | 70e566b0bd29189b1baf3dc915b6a98de36fbded (diff) |
patch 9.1.0194: gcc complains about uninitialized varv9.1.0194
Problem: gcc complains about uninitialized var
(Tony Mechelynck)
Solution: initialize to NULL
Signed-off-by: Christian Brabandt <cb@256bit.org>
-rw-r--r-- | src/insexpand.c | 2 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/insexpand.c b/src/insexpand.c index c080d60cd9..9b5e5de64c 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 8fa2f694d5..8a801686f9 100644 --- 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, |