diff options
author | Thomas Vigouroux <tomvig38@gmail.com> | 2020-10-05 12:31:33 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-05 12:31:33 +0200 |
commit | 7996d9ece13fbececea7c278ae423d9f1c4581ec (patch) | |
tree | a14c38244d7595b0ec19dcf1d0680feb508295a8 /src/nvim/api/buffer.c | |
parent | f7aeac7263c792e1503f9169abed20b6f5b9da99 (diff) | |
parent | 8972eea2e1f783adae1e3ab0e206543a4fbe632a (diff) | |
download | rneovim-7996d9ece13fbececea7c278ae423d9f1c4581ec.tar.gz rneovim-7996d9ece13fbececea7c278ae423d9f1c4581ec.tar.bz2 rneovim-7996d9ece13fbececea7c278ae423d9f1c4581ec.zip |
Merge pull request #13023 from G-flat/pvs-v1001
[RDY] PVS/V1001: Remove assignment to unused variable
Diffstat (limited to 'src/nvim/api/buffer.c')
-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 174f6e94a9..2811a2da12 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), kExtmarkNoUndo); + extmark_set(buf, ns_id, 0, + (int)line, (colnr_T)col_start, + end_line, (colnr_T)col_end, + decoration_hl(hl_id), kExtmarkNoUndo); return src_id; } |