memline: Fix PVS/V547: allocator now never returns NULL

This commit is contained in:
ZyX
2018-04-15 20:56:42 +03:00
parent 2940af8321
commit cb3230776e

View File

@@ -843,8 +843,7 @@ void ml_recover(void)
mfp = mf_open(fname_used, O_RDONLY);
fname_used = p;
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;
}
buf->b_ml.ml_mfp = mfp;