commit | 8cc6977a9655603bfc4aab64edddafef147da65e | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Sun Feb 28 16:42:03 2016 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Sun Feb 28 16:42:03 2016 +0100 |
tree | 36ba00718940ae1cd6ed3d7c706fac56a7dd4038 | |
parent | c5215e943bf5a045089693b60b8805a794d8c2f6 [diff] [blame] |
patch 7.4.1449 Problem: Build fails with job feature but without channel feature. Solution: Add #ifdef.
diff --git a/src/eval.c b/src/eval.c index c12961a..4dd400a 100644 --- a/src/eval.c +++ b/src/eval.c
@@ -7800,6 +7800,7 @@ { job_free(job); } +# ifdef FEAT_CHANNEL else if (job->jv_channel != NULL) { /* Do remove the link to the channel, otherwise it hangs @@ -7808,6 +7809,7 @@ channel_unref(job->jv_channel); job->jv_channel = NULL; } +# endif } }