mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
PVS/V1001: Remove assignment to unused variable
This commit is contained in:
parent
62c53ac3cf
commit
1a49346319
@ -1531,11 +1531,11 @@ Integer nvim_buf_add_highlight(Buffer buffer,
|
|||||||
end_line++;
|
end_line++;
|
||||||
}
|
}
|
||||||
|
|
||||||
ns_id = extmark_set(buf, ns_id, 0,
|
extmark_set(buf, ns_id, 0,
|
||||||
(int)line, (colnr_T)col_start,
|
(int)line, (colnr_T)col_start,
|
||||||
end_line, (colnr_T)col_end,
|
end_line, (colnr_T)col_end,
|
||||||
decoration_hl(hl_id), kExtmarkUndo);
|
decoration_hl(hl_id), kExtmarkUndo);
|
||||||
return (Integer)ns_id;
|
return src_id;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Clears namespaced objects (highlights, extmarks, virtual text) from
|
/// Clears namespaced objects (highlights, extmarks, virtual text) from
|
||||||
|
Loading…
Reference in New Issue
Block a user