diff options
author | G-flat <63449095+G-flat@users.noreply.github.com> | 2020-10-01 22:37:14 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-01 22:37:14 +0800 |
commit | 06258772da183acaacc37729d3c0cb364571bcb7 (patch) | |
tree | 2cb7114a2343a6bb662de8f6c92ab0cc466fb39a /src | |
parent | 36a5c394a59d333bf26780d03f182e79e73d33f5 (diff) | |
download | rneovim-06258772da183acaacc37729d3c0cb364571bcb7.tar.gz rneovim-06258772da183acaacc37729d3c0cb364571bcb7.tar.bz2 rneovim-06258772da183acaacc37729d3c0cb364571bcb7.zip |
PVS/V1001: Remove assignment to unused variable
Diffstat (limited to 'src')
-rw-r--r-- | src/nvim/api/buffer.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/nvim/api/buffer.c b/src/nvim/api/buffer.c index e77870dcf3..3171b00e28 100644 --- a/src/nvim/api/buffer.c +++ b/src/nvim/api/buffer.c @@ -1531,10 +1531,10 @@ Integer nvim_buf_add_highlight(Buffer buffer, end_line++; } - ns_id = extmark_set(buf, ns_id, 0, - (int)line, (colnr_T)col_start, - end_line, (colnr_T)col_end, - decoration_hl(hl_id), kExtmarkUndo); + extmark_set(buf, ns_id, 0, + (int)line, (colnr_T)col_start, + end_line, (colnr_T)col_end, + decoration_hl(hl_id), kExtmarkUndo); return src_id; } |