diff src/vim9compile.c @ 19562:6b7719b8f9b9 v8.2.0338

patch 8.2.0338: build failure without the channel feature Commit: https://github.com/vim/vim/commit/f4f190d8219fc93c6e58e54ce7c1ac15af07840f Author: Bram Moolenaar <Bram@vim.org> 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
author Bram Moolenaar <Bram@vim.org>
date Sun, 01 Mar 2020 13:15:06 +0100
parents 8eeec8886c02
children 06f29b6ea04a
line wrap: on
line diff
--- 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: