0
0
mirror of https://github.com/vim/vim.git synced 2025-09-25 03:54:15 -04:00

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:
Yegappan Lakshmanan
2022-09-04 12:47:21 +01:00
committed by Bram Moolenaar
parent c8ac3a072f
commit 6b085b9d73
8 changed files with 14 additions and 27 deletions

View File

@@ -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] == '*')