commit | 5e83840756f6bb446d5cd8d026c1430b203645f1 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Sun Feb 21 23:12:41 2016 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Sun Feb 21 23:12:41 2016 +0100 |
tree | 66a94dc176802511e5718be8127f10f73bd49036 | |
parent | f6fee0e2d4341c0c2f5339c1268e5877fafd07cf [diff] [blame] |
patch 7.4.1385 Problem: Compiler warning for using array. Solution: Use the right member name. (Yegappan Lakshmanan)
diff --git a/src/eval.c b/src/eval.c index 0d38e11..3fb06d0 100644 --- a/src/eval.c +++ b/src/eval.c
@@ -10135,7 +10135,7 @@ break; opt->jo_set |= JO_EXIT_CB; opt->jo_exit_cb = get_tv_string_buf_chk(item, opt->jo_ecb_buf); - if (opt->jo_ecb_buf == NULL) + if (opt->jo_exit_cb == NULL) { EMSG2(_(e_invarg2), "exit-cb"); return FAIL;