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 <basilisk@internode.on.net>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
John Marriott
2026-01-13 21:29:26 +00:00
committed by Christian Brabandt
parent 1d4fe89054
commit dc47097423
2 changed files with 4 additions and 0 deletions
+2
View File
@@ -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;
+2
View File
@@ -734,6 +734,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
2084,
/**/
2083,
/**/