From dc47097423c5500ba8eedfcf0fb4ff14f3d924b8 Mon Sep 17 00:00:00 2001 From: John Marriott Date: Tue, 13 Jan 2026 21:29:26 +0000 Subject: [PATCH] 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 --- src/list.c | 2 ++ src/version.c | 2 ++ 2 files changed, 4 insertions(+) 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, /**/