mirror of
https://github.com/neovim/neovim.git
synced 2025-11-28 05:00:44 +00:00
Merge pull request #11870 from QnJ1c2kNCg/master
clang analyzer: Dead assignment `ns_id` in nvim_buf_add_highlight
This commit is contained in:
@@ -1420,10 +1420,10 @@ Integer nvim_buf_add_highlight(Buffer buffer,
|
|||||||
end_line++;
|
end_line++;
|
||||||
}
|
}
|
||||||
|
|
||||||
ns_id = extmark_add_decoration(buf, ns_id, hlg_id,
|
extmark_add_decoration(buf, ns_id, hlg_id,
|
||||||
(int)line, (colnr_T)col_start,
|
(int)line, (colnr_T)col_start,
|
||||||
end_line, (colnr_T)col_end,
|
end_line, (colnr_T)col_end,
|
||||||
VIRTTEXT_EMPTY);
|
VIRTTEXT_EMPTY);
|
||||||
return src_id;
|
return src_id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user