# HG changeset patch # User Christian Brabandt # Date 1711048502 -3600 # Node ID 6d3a5ef458cdaac1b14319b14f2c5f479ab54579 # Parent a7f393b7affb7c9446e17f45c57f865fbdcfaad0 patch 9.1.0194: gcc complains about uninitialized var Commit: https://github.com/vim/vim/commit/9eb236f455df75af858a37a3d98f190c977deaf4 Author: Christian Brabandt 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 diff --git a/src/insexpand.c b/src/insexpand.c --- 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; diff --git a/src/version.c b/src/version.c --- 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,