mirror of
https://github.com/neovim/neovim.git
synced 2025-09-06 03:18:16 +00:00
shada: fix pvs/v1004
This commit is contained in:
@@ -4148,7 +4148,7 @@ static inline size_t shada_init_jumps(
|
||||
}
|
||||
const char *const fname = (char *) (fm.fmark.fnum == 0
|
||||
? (fm.fname == NULL ? NULL : fm.fname)
|
||||
: buf->b_ffname);
|
||||
: buf ? buf->b_ffname : NULL);
|
||||
if (fname == NULL) {
|
||||
continue;
|
||||
}
|
||||
|
Reference in New Issue
Block a user