summaryrefslogtreecommitdiffstats
path: root/src/channel.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2018-07-08 17:19:02 +0200
committerBram Moolenaar <Bram@vim.org>2018-07-08 17:19:02 +0200
commitc89d4b35300b98cf68b14c89c8e1add51bd857e3 (patch)
tree467d753ac74270da629887f484f797509696d302 /src/channel.c
parente0be167a805fd547c25ec1ec97fd4c7f13046236 (diff)
patch 8.1.0167: lock flag in new dictitem is reset in many placesv8.1.0167
Problem: Lock flag in new dictitem is reset in many places. Solution: Always reset the lock flag.
Diffstat (limited to 'src/channel.c')
-rw-r--r--src/channel.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/channel.c b/src/channel.c
index c62da8bd31..de2f50de2b 100644
--- a/src/channel.c
+++ b/src/channel.c
@@ -5742,7 +5742,6 @@ job_info(job_T *job, dict_T *dict)
item = dictitem_alloc((char_u *)"channel");
if (item == NULL)
return;
- item->di_tv.v_lock = 0;
item->di_tv.v_type = VAR_CHANNEL;
item->di_tv.vval.v_channel = job->jv_channel;
if (job->jv_channel != NULL)