mirror of
https://github.com/neovim/neovim.git
synced 2025-09-06 03:18:16 +00:00
memline: Fix PVS/V547: allocator now never returns NULL
This commit is contained in:
@@ -843,7 +843,6 @@ void ml_recover(void)
|
|||||||
mfp = mf_open(fname_used, O_RDONLY);
|
mfp = mf_open(fname_used, O_RDONLY);
|
||||||
fname_used = p;
|
fname_used = p;
|
||||||
if (mfp == NULL || mfp->mf_fd < 0) {
|
if (mfp == NULL || mfp->mf_fd < 0) {
|
||||||
if (fname_used != NULL)
|
|
||||||
EMSG2(_("E306: Cannot open %s"), fname_used);
|
EMSG2(_("E306: Cannot open %s"), fname_used);
|
||||||
goto theend;
|
goto theend;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user