vim-patch:9.0.0410: struct member cts_lnum is unused

Problem:    Struct member cts_lnum is unused.
Solution:   Delete it.
d7633114af
This commit is contained in:
zeertzjq 2022-09-08 08:50:43 +08:00
parent e93f22f28a
commit 80a566b55f
2 changed files with 0 additions and 2 deletions

View File

@ -292,7 +292,6 @@ void init_chartabsize_arg(chartabsize_T *cts, win_T *wp, linenr_T lnum, colnr_T
char *ptr)
{
cts->cts_win = wp;
cts->cts_lnum = lnum;
cts->cts_vcol = col;
cts->cts_line = line;
cts->cts_ptr = ptr;

View File

@ -6,7 +6,6 @@
// Argument for lbr_chartabsize().
typedef struct {
win_T *cts_win;
linenr_T cts_lnum; // zero when not using text properties
char *cts_line; // start of the line
char *cts_ptr; // current position in line