summaryrefslogtreecommitdiffstats
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
parent9fca133eb78ce25531da394db904c4fa8d40b35c (diff)
patch 9.0.1089: unnessary assignmentv9.0.1089
Problem: unnessary assignment Solution: Remove the assignment. (Luuk van Baal, closes #1136)
-rw-r--r--src/memline.c3
-rw-r--r--src/version.c2
2 files changed, 2 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
diff --git a/src/version.c b/src/version.c
index a7fd8d8e89..71029ae478 100644
--- a/src/version.c
+++ b/src/version.c
@@ -696,6 +696,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 1089,
+/**/
1088,
/**/
1087,