mirror of
https://github.com/neovim/neovim.git
synced 2025-09-19 09:48:19 +00:00
*: Fix linter errors
This commit is contained in:
@@ -290,7 +290,7 @@ void tv_list_remove_items(list_T *const l, listitem_T *const item,
|
|||||||
FUNC_ATTR_NONNULL_ALL
|
FUNC_ATTR_NONNULL_ALL
|
||||||
{
|
{
|
||||||
tv_list_drop_items(l, item, item2);
|
tv_list_drop_items(l, item, item2);
|
||||||
for(listitem_T *li = item;;) {
|
for (listitem_T *li = item;;) {
|
||||||
tv_clear(TV_LIST_ITEM_TV(li));
|
tv_clear(TV_LIST_ITEM_TV(li));
|
||||||
listitem_T *const nli = li->li_next;
|
listitem_T *const nli = li->li_next;
|
||||||
xfree(li);
|
xfree(li);
|
||||||
|
@@ -81,8 +81,6 @@ local function get_alloc_rets(exp_log, res)
|
|||||||
return exp_log
|
return exp_log
|
||||||
end
|
end
|
||||||
|
|
||||||
local to_cstr_nofree = function(v) return lib.xstrdup(v) end
|
|
||||||
|
|
||||||
local alloc_log = alloc_log_new()
|
local alloc_log = alloc_log_new()
|
||||||
|
|
||||||
before_each(function()
|
before_each(function()
|
||||||
|
Reference in New Issue
Block a user