From 2d7599248b9e02dca7828593028f8adff7191294 Mon Sep 17 00:00:00 2001 From: luukvbaal <31730729+luukvbaal@users.noreply.github.com> Date: Fri, 23 Dec 2022 14:13:58 +0100 Subject: [PATCH] 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 --- src/nvim/memline.c | 1 - 1 file changed, 1 deletion(-) 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);