summaryrefslogtreecommitdiffstats
path: root/src/memline.c
diff options
context:
space:
mode:
authorLuuk van Baal <luukvbaal@gmail.com>2022-12-23 12:17:33 +0000
committerBram Moolenaar <Bram@vim.org>2022-12-23 12:17:33 +0000
commitc53e7904b9ac559c7ad6e3acb136027d10aed54e (patch)
tree0dced03f173e08a24e084096213248cf3d55f53f /src/memline.c
parent9fca133eb78ce25531da394db904c4fa8d40b35c (diff)
patch 9.0.1089: unnessary assignmentv9.0.1089
Problem: unnessary assignment Solution: Remove the assignment. (Luuk van Baal, closes #1136)
Diffstat (limited to 'src/memline.c')
-rw-r--r--src/memline.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/memline.c b/src/memline.c
index 16885d3bc4..48b17f5589 100644
--- a/src/memline.c
+++ b/src/memline.c
@@ -316,9 +316,6 @@ ml_open(buf_T *buf)
#endif
buf->b_ml.ml_flags = ML_EMPTY;
buf->b_ml.ml_line_count = 1;
-#ifdef FEAT_LINEBREAK
- curwin->w_nrwidth_line_count = 0;
-#endif
/*
* fill block0 struct and write page 0