summaryrefslogtreecommitdiff
path: root/src/viminfo.c
diff options
context:
space:
mode:
authorYegappan Lakshmanan <yegappan@yahoo.com>2022-09-04 12:47:21 +0100
committerBram Moolenaar <Bram@vim.org>2022-09-04 12:47:21 +0100
commit6b085b9d7367e077ca69f4f82ba0f92cc6b6e443 (patch)
tree24a71b96fa92cd775faba432e659cd5a23d8ed0d /src/viminfo.c
parentc8ac3a072f18d4b250e55e91f610fe517e218777 (diff)
downloadvim-git-6b085b9d7367e077ca69f4f82ba0f92cc6b6e443.tar.gz
patch 9.0.0376: clang warns for dead assignmentsv9.0.0376
Problem: Clang warns for dead assignments. Solution: Adjust the code. (Yegappan Lakshmanan, closes #11048)
Diffstat (limited to 'src/viminfo.c')
-rw-r--r--src/viminfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/viminfo.c b/src/viminfo.c
index acdf61825..546103e97 100644
--- a/src/viminfo.c
+++ b/src/viminfo.c
@@ -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] == '*')