Hi,

The attached patch fixes a warning message seen when building the
latest version of Vim.

- Yegappan

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.
diff --git a/src/eval.c b/src/eval.c
index bb9a4c5..bcd3804 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -10135,7 +10135,7 @@ get_job_options(typval_T *tv, jobopt_T *opt, int 
supported)
                    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;

Raspunde prin e-mail lui