From: John Marriott Date: Tue, 13 Jan 2026 21:29:26 +0000 (+0000) Subject: patch 9.1.2084: Compile error when build with job feature X-Git-Tag: v9.1.2084^0 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dc47097423c5500ba8eedfcf0fb4ff14f3d924b8;p=thirdparty%2Fvim.git patch 9.1.2084: Compile error when build with job feature Problem: Compile error when build with job feature (after v9.1.2077) Solution: Add ifdefs (John Marriott). related: #19076 Signed-off-by: John Marriott Signed-off-by: Christian Brabandt --- diff --git a/src/list.c b/src/list.c index 4579d3dadb..c3d7b5a2b8 100644 --- a/src/list.c +++ b/src/list.c @@ -792,8 +792,10 @@ list_append_new_item(list_T *l) case VAR_PARTIAL: tv.vval.v_partial = NULL; break; case VAR_LIST: tv.vval.v_list = list_alloc(); break; case VAR_DICT: tv.vval.v_dict = dict_alloc(); break; +#ifdef FEAT_JOB_CHANNEL case VAR_JOB: tv.vval.v_job = NULL; break; case VAR_CHANNEL: tv.vval.v_channel = NULL; break; +#endif case VAR_CLASS: if (l->lv_type != NULL && l->lv_type->tt_member != NULL) tv.vval.v_class = l->lv_type->tt_member->tt_class; diff --git a/src/version.c b/src/version.c index 87702d84b7..0d09cef03e 100644 --- a/src/version.c +++ b/src/version.c @@ -734,6 +734,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 2084, /**/ 2083, /**/