]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 9.1.2084: Compile error when build with job feature v9.1.2084
authorJohn Marriott <basilisk@internode.on.net>
Tue, 13 Jan 2026 21:29:26 +0000 (21:29 +0000)
committerChristian Brabandt <cb@256bit.org>
Tue, 13 Jan 2026 21:31:26 +0000 (21:31 +0000)
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>
src/list.c
src/version.c

index 4579d3dadbe5c9b42c20344b7dbf1f5c5875d29a..c3d7b5a2b87f058d9799d412dbd1cda4a903ce2b 100644 (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;
index 87702d84b7747a8b4e8c3f1f47ec6ccef74816c0..0d09cef03e4b8dab88f4c4cf49cb3e34b11255f0 100644 (file)
@@ -734,6 +734,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    2084,
 /**/
     2083,
 /**/