forked from aniani/vim
patch 9.0.0376: clang warns for dead assignments
Problem: Clang warns for dead assignments. Solution: Adjust the code. (Yegappan Lakshmanan, closes #11048)
This commit is contained in:
committed by
Bram Moolenaar
parent
c8ac3a072f
commit
6b085b9d73
@@ -2324,7 +2324,7 @@ copy_viminfo_marks(
|
||||
// Read the next line. If it has the "*" mark compare the
|
||||
// time stamps. Write entries from "buflist" that are
|
||||
// newer.
|
||||
if (!(eof = viminfo_readline(virp)) && line[0] == TAB)
|
||||
if (!viminfo_readline(virp) && line[0] == TAB)
|
||||
{
|
||||
did_read_line = TRUE;
|
||||
if (line[1] == '*')
|
||||
|
Reference in New Issue
Block a user