# HG changeset patch # User Bram Moolenaar # Date 1671798603 -3600 # Node ID 2536ffb8fc377c296a29c95787c9d04606680919 # Parent eb5dcfa9eab052367e96736118b768f022b40e21 patch 9.0.1089: unnessary assignment Commit: https://github.com/vim/vim/commit/c53e7904b9ac559c7ad6e3acb136027d10aed54e Author: Luuk van Baal Date: Fri Dec 23 12:17:33 2022 +0000 patch 9.0.1089: unnessary assignment Problem: unnessary assignment Solution: Remove the assignment. (Luuk van Baal, closes https://github.com/vim/vim/issues/1136) diff --git a/src/memline.c b/src/memline.c --- 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 --- 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,