mirror of
https://github.com/neovim/neovim.git
synced 2025-09-14 07:18:17 +00:00
*: Fix linter errors
This commit is contained in:
@@ -549,7 +549,7 @@ void eval_init(void)
|
|||||||
list_T *const type_list = list_alloc();
|
list_T *const type_list = list_alloc();
|
||||||
type_list->lv_lock = VAR_FIXED;
|
type_list->lv_lock = VAR_FIXED;
|
||||||
type_list->lv_refcount = 1;
|
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_flags |= DI_FLAGS_RO|DI_FLAGS_FIX;
|
||||||
di->di_tv = (typval_T) {
|
di->di_tv = (typval_T) {
|
||||||
.v_type = VAR_LIST,
|
.v_type = VAR_LIST,
|
||||||
|
@@ -650,7 +650,7 @@ void free_all_mem(void)
|
|||||||
|
|
||||||
// Free all buffers. Reset 'autochdir' to avoid accessing things that
|
// Free all buffers. Reset 'autochdir' to avoid accessing things that
|
||||||
// were freed already.
|
// 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.
|
// freeing it.
|
||||||
p_acd = false;
|
p_acd = false;
|
||||||
for (buf = firstbuf; buf != NULL; ) {
|
for (buf = firstbuf; buf != NULL; ) {
|
||||||
|
Reference in New Issue
Block a user