mirror of
https://github.com/neovim/neovim.git
synced 2025-12-05 14:13:10 +00:00
PVS/V1001: Remove assignment to unused variable
This commit is contained in:
@@ -1531,11 +1531,11 @@ 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);
|
||||
return (Integer)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);
|
||||
return src_id;
|
||||
}
|
||||
|
||||
/// Clears namespaced objects (highlights, extmarks, virtual text) from
|
||||
|
||||
Reference in New Issue
Block a user