diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2020-10-24 22:28:56 -0400 |
---|---|---|
committer | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2020-10-25 02:10:47 -0400 |
commit | b7cd7e0e5c2d450000cfd43f1fbde0497a1c83fd (patch) | |
tree | c03a72edb36e32a360bdc362674e7a173a1a36fb /src/nvim/quickfix.c | |
parent | a67bcb3fbfe3abac9a11ed5d1a1ffa7833a4d61f (diff) | |
download | rneovim-b7cd7e0e5c2d450000cfd43f1fbde0497a1c83fd.tar.gz rneovim-b7cd7e0e5c2d450000cfd43f1fbde0497a1c83fd.tar.bz2 rneovim-b7cd7e0e5c2d450000cfd43f1fbde0497a1c83fd.zip |
vim-patch:8.2.1102: Coverity gets confused by an unnecessary NULL check
Problem: Coverity gets confused by an unnecessary NULL check.
Solution: Remove the check for NULL.
https://github.com/vim/vim/commit/90049492215aa458b90215b8e0fc50f04d5ad270
Diffstat (limited to 'src/nvim/quickfix.c')
-rw-r--r-- | src/nvim/quickfix.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/quickfix.c b/src/nvim/quickfix.c index 96c903d206..1cd7879dc0 100644 --- a/src/nvim/quickfix.c +++ b/src/nvim/quickfix.c @@ -6317,6 +6317,7 @@ static void qf_free_stack(win_T *wp, qf_info_T *qi) // Populate the quickfix list with the items supplied in the list // of dictionaries. "title" will be copied to w:quickfix_title // "action" is 'a' for add, 'r' for replace. Otherwise create a new list. +// When "what" is not NULL then only set some properties. int set_errorlist(win_T *wp, list_T *list, int action, char_u *title, dict_T *what) { |