mirror of
https://github.com/neovim/neovim.git
synced 2025-09-25 04:28:33 +00:00
vim-patch:8.0.1512: warning for possibly using NULL pointer
Problem: Warning for possibly using NULL pointer. (Coverity)
Solution: Skip using the pointer if it's NULL.
e4db7aedab
This commit is contained in:
@@ -4420,7 +4420,7 @@ do_arg_all (
|
||||
if (i < alist->al_ga.ga_len
|
||||
&& (AARGLIST(alist)[i].ae_fnum == buf->b_fnum
|
||||
|| path_full_compare(alist_name(&AARGLIST(alist)[i]),
|
||||
buf->b_ffname, TRUE) & kEqualFiles)) {
|
||||
buf->b_ffname, true) & kEqualFiles)) {
|
||||
int weight = 1;
|
||||
|
||||
if (old_curtab == curtab) {
|
||||
|
Reference in New Issue
Block a user