*: Fix linter errors

This commit is contained in:
ZyX 2017-12-24 23:09:26 +03:00
parent 7997147245
commit bc52ec6110
2 changed files with 1 additions and 3 deletions

View File

@ -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);

View File

@ -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()