# HG changeset patch # User Bram Moolenaar # Date 1583064906 -3600 # Node ID 6b7719b8f9b98e5d80d8a37d9a414846e2656089 # Parent 8d05000d0f1e77083748b72a2f5f3120905992f5 patch 8.2.0338: build failure without the channel feature Commit: https://github.com/vim/vim/commit/f4f190d8219fc93c6e58e54ce7c1ac15af07840f Author: Bram Moolenaar Date: Sun Mar 1 13:01:16 2020 +0100 patch 8.2.0338: build failure without the channel feature Problem: Build failure without the channel feature. Solution: Add #ifdef diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -739,6 +739,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 338, +/**/ 337, /**/ 336, diff --git a/src/vim9compile.c b/src/vim9compile.c --- a/src/vim9compile.c +++ b/src/vim9compile.c @@ -5227,11 +5227,15 @@ delete_instr(isn_T *isn) break; case ISN_PUSHJOB: +#ifdef FEAT_JOB_CHANNEL job_unref(isn->isn_arg.job); +#endif break; case ISN_PUSHCHANNEL: +#ifdef FEAT_JOB_CHANNEL channel_unref(isn->isn_arg.channel); +#endif break; case ISN_UCALL: