Hi, On Wed, Nov 29, 2017 at 11:09 PM, Christ van Willegen <[email protected]> wrote: > > > Op 30 nov. 2017 07:44 schreef "Yegappan Lakshmanan" > <[email protected]>: > > res = qf_init(wp, p_ef, p_efm, (eap->cmdidx != CMD_caddfile > && eap->cmdidx != CMD_laddfile), *eap->cmdlinep, enc); > + if (wp != NULL) > + qi = GET_LOC_LIST(wp); > + if (res >= 0) > + qf_list_changed(qi, qi->qf_curlist); > #ifdef FEAT_AUTOCMD > if (au_name != NULL) > apply_autocmds(EVENT_QUICKFIXCMDPOST, au_name, NULL, FALSE, curbuf); > #endif > > > Could qi be NULL here? >
It is theoretically possible that qi could be NULL. I have added a check for qi and pushed the change. - 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.
