comparison src/memline.c @ 31513:2536ffb8fc37 v9.0.1089

patch 9.0.1089: unnessary assignment Commit: https://github.com/vim/vim/commit/c53e7904b9ac559c7ad6e3acb136027d10aed54e Author: Luuk van Baal <luukvbaal@gmail.com> 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)
author Bram Moolenaar <Bram@vim.org>
date Fri, 23 Dec 2022 13:30:03 +0100
parents 56a2af8c0980
children 238ca27dbfd2
comparison
equal deleted inserted replaced
31512:eb5dcfa9eab0 31513:2536ffb8fc37
314 #ifdef FEAT_CRYPT 314 #ifdef FEAT_CRYPT
315 mfp->mf_buffer = buf; 315 mfp->mf_buffer = buf;
316 #endif 316 #endif
317 buf->b_ml.ml_flags = ML_EMPTY; 317 buf->b_ml.ml_flags = ML_EMPTY;
318 buf->b_ml.ml_line_count = 1; 318 buf->b_ml.ml_line_count = 1;
319 #ifdef FEAT_LINEBREAK
320 curwin->w_nrwidth_line_count = 0;
321 #endif
322 319
323 /* 320 /*
324 * fill block0 struct and write page 0 321 * fill block0 struct and write page 0
325 */ 322 */
326 if ((hp = mf_new(mfp, FALSE, 1)) == NULL) 323 if ((hp = mf_new(mfp, FALSE, 1)) == NULL)