changeset 30148:d8560d2c1f30 v9.0.0410

patch 9.0.0410: struct member cts_lnum is unused Commit: https://github.com/vim/vim/commit/d7633114af2365e32080b61af473db347a3489c2 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Sep 7 20:01:17 2022 +0100 patch 9.0.0410: struct member cts_lnum is unused Problem: Struct member cts_lnum is unused. Solution: Delete it.
author Bram Moolenaar <Bram@vim.org>
date Wed, 07 Sep 2022 21:15:03 +0200
parents eae31105c82b
children 58dd17222e56
files src/charset.c src/structs.h src/version.c
diffstat 3 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/charset.c
+++ b/src/charset.c
@@ -950,7 +950,6 @@ init_chartabsize_arg(
 {
     CLEAR_POINTER(cts);
     cts->cts_win = wp;
-    cts->cts_lnum = lnum;
     cts->cts_vcol = col;
     cts->cts_line = line;
     cts->cts_ptr = ptr;
--- a/src/structs.h
+++ b/src/structs.h
@@ -4599,7 +4599,6 @@ typedef struct {
 // Argument for lbr_chartabsize().
 typedef struct {
     win_T	*cts_win;
-    linenr_T	cts_lnum;	    // zero when not using text properties
     char_u	*cts_line;	    // start of the line
     char_u	*cts_ptr;	    // current position in line
 #ifdef FEAT_PROP_POPUP
--- a/src/version.c
+++ b/src/version.c
@@ -704,6 +704,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    410,
+/**/
     409,
 /**/
     408,