mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
*: Fix linter errors
This commit is contained in:
parent
77ebe85be6
commit
a85021068d
@ -549,7 +549,7 @@ void eval_init(void)
|
||||
list_T *const type_list = list_alloc();
|
||||
type_list->lv_lock = VAR_FIXED;
|
||||
type_list->lv_refcount = 1;
|
||||
dictitem_T *const di = dictitem_alloc((char_u *) msgpack_type_names[i]);
|
||||
dictitem_T *const di = dictitem_alloc((char_u *)msgpack_type_names[i]);
|
||||
di->di_flags |= DI_FLAGS_RO|DI_FLAGS_FIX;
|
||||
di->di_tv = (typval_T) {
|
||||
.v_type = VAR_LIST,
|
||||
|
@ -650,7 +650,7 @@ void free_all_mem(void)
|
||||
|
||||
// Free all buffers. Reset 'autochdir' to avoid accessing things that
|
||||
// were freed already.
|
||||
// Must be after eval_clear to avoid it trying to access b:changedtick after
|
||||
// Must be after eval_clear to avoid it trying to access b:changedtick after
|
||||
// freeing it.
|
||||
p_acd = false;
|
||||
for (buf = firstbuf; buf != NULL; ) {
|
||||
|
Loading…
Reference in New Issue
Block a user