]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 9.0.1089: unnessary assignment v9.0.1089
authorLuuk van Baal <luukvbaal@gmail.com>
Fri, 23 Dec 2022 12:17:33 +0000 (12:17 +0000)
committerBram Moolenaar <Bram@vim.org>
Fri, 23 Dec 2022 12:17:33 +0000 (12:17 +0000)
Problem:    unnessary assignment
Solution:   Remove the assignment. (Luuk van Baal, closes #1136)

src/memline.c
src/version.c

index 16885d3bc4eb0f8357c5f6dc1f88406bc46871a0..48b17f5589fb5e1695dd978a7b716ded057e4324 100644 (file)
@@ -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
index a7fd8d8e899391d18212c5a66c26e67d1d111214..71029ae47809b4d26755a3b23e95313d11e9f6c0 100644 (file)
@@ -695,6 +695,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1089,
 /**/
     1088,
 /**/