]> granicus.if.org Git - vim/commitdiff
patch 9.0.0410: struct member cts_lnum is unused v9.0.0410
authorBram Moolenaar <Bram@vim.org>
Wed, 7 Sep 2022 19:01:17 +0000 (20:01 +0100)
committerBram Moolenaar <Bram@vim.org>
Wed, 7 Sep 2022 19:01:17 +0000 (20:01 +0100)
Problem:    Struct member cts_lnum is unused.
Solution:   Delete it.

src/charset.c
src/structs.h
src/version.c

index b26ebb96c75256b9e66d056ccc8e3f2ea273dc25..79a281580bfd0a2e04021b16a0c62e2286b81a1f 100644 (file)
@@ -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;
index 6e679e2b21cc079c1c5444fc1dd776a22f55f462..6e29785d3d0ddcb511e4cc84db08f7202e18aa4f 100644 (file)
@@ -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
index 746852aa198775aec653e9780b73143fba159e9e..0d6cc8951025f9f84210f36fbc07da66aef091f6 100644 (file)
@@ -703,6 +703,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    410,
 /**/
     409,
 /**/