commit | 16eb4f88000cfdba68df6c421fe44e7e029ba53e | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Sun Feb 14 23:02:34 2016 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Sun Feb 14 23:02:34 2016 +0100 |
tree | 12e97ba0267d78212cc58b7644eb1fbd87a05c9c | |
parent | 7b3ca76a451b10d238ef946f3231762e0bd988e9 [diff] [blame] |
patch 7.4.1319 Problem: Tests fail on MS-Windows and on Unix with GUI. Solution: Fix unregistering.
diff --git a/src/os_unix.c b/src/os_unix.c index 65a4b92..ec7d6c1 100644 --- a/src/os_unix.c +++ b/src/os_unix.c
@@ -5043,7 +5043,7 @@ int fd_in[2]; /* for stdin */ int fd_out[2]; /* for stdout */ int fd_err[2]; /* for stderr */ - channel_T *channel; + channel_T *channel = NULL; /* default is to fail */ job->jv_status = JOB_FAILED;