aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorluukvbaal <31730729+luukvbaal@users.noreply.github.com>2022-12-23 14:13:58 +0100
committerGitHub <noreply@github.com>2022-12-23 21:13:58 +0800
commit2d7599248b9e02dca7828593028f8adff7191294 (patch)
treeb2861abc0d69092ae3dd24a9c2fe4af93d5aba66
parent788eb654941efe1f725143d7e1bc9b5236ecbb37 (diff)
downloadrneovim-2d7599248b9e02dca7828593028f8adff7191294.tar.gz
rneovim-2d7599248b9e02dca7828593028f8adff7191294.tar.bz2
rneovim-2d7599248b9e02dca7828593028f8adff7191294.zip
vim-patch:9.0.1089: unnecessary assignment (#21493)
Problem: unnecessary assignment Solution: Remove the assignment. (Luuk van Baal, closes vim/vim#11736) https://github.com/vim/vim/commit/c53e7904b9ac559c7ad6e3acb136027d10aed54e
-rw-r--r--src/nvim/memline.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/nvim/memline.c b/src/nvim/memline.c
index 916e4a0e10..03fe0be896 100644
--- a/src/nvim/memline.c
+++ b/src/nvim/memline.c
@@ -281,7 +281,6 @@ int ml_open(buf_T *buf)
buf->b_ml.ml_mfp = mfp;
buf->b_ml.ml_flags = ML_EMPTY;
buf->b_ml.ml_line_count = 1;
- curwin->w_nrwidth_line_count = 0;
// fill block0 struct and write page 0
hp = mf_new(mfp, false, 1);