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