1
0
forked from aniani/vim

patch 7.4.1362

Problem:    Using unitinialized value.
Solution:   Initialize jo_set.
This commit is contained in:
Bram Moolenaar
2016-02-19 23:31:40 +01:00
parent 254e00d714
commit 8600ace876
2 changed files with 3 additions and 0 deletions

View File

@@ -9886,6 +9886,7 @@ get_job_options(typval_T *tv, jobopt_T *opt, int supported)
int todo;
hashitem_T *hi;
opt->jo_set = 0;
if (tv->v_type == VAR_UNKNOWN)
return OK;
if (tv->v_type != VAR_DICT)