summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-09-07 20:01:17 +0100
committerBram Moolenaar <Bram@vim.org>2022-09-07 20:01:17 +0100
commitd7633114af2365e32080b61af473db347a3489c2 (patch)
tree2bba8019bcb84f3fc9e1f7a8692438859c40c7a4
parent7c7e1e9b98d4e5dbe7358c795a635c6f1f36f418 (diff)
patch 9.0.0410: struct member cts_lnum is unusedv9.0.0410
Problem: Struct member cts_lnum is unused. Solution: Delete it.
-rw-r--r--src/charset.c1
-rw-r--r--src/structs.h1
-rw-r--r--src/version.c2
3 files changed, 2 insertions, 2 deletions
diff --git a/src/charset.c b/src/charset.c
index b26ebb96c7..79a281580b 100644
--- 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;
diff --git a/src/structs.h b/src/structs.h
index 6e679e2b21..6e29785d3d 100644
--- 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
diff --git a/src/version.c b/src/version.c
index 746852aa19..0d6cc89510 100644
--- 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,