aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/memory.c
diff options
context:
space:
mode:
authorVVKot <volodymyr.kot.ua@gmail.com>2021-11-21 07:24:07 +0000
committerVVKot <volodymyr.kot.ua@gmail.com>2021-11-21 08:20:38 +0000
commitddc401a91cc7d1dfb534172158a6b4bae4c0eb48 (patch)
tree06138e9158edd6bc318fa15958ad08b8b43f6cb1 /src/nvim/memory.c
parent120a88163078e61b272e9629138642bc5df80e4a (diff)
downloadrneovim-ddc401a91cc7d1dfb534172158a6b4bae4c0eb48.tar.gz
rneovim-ddc401a91cc7d1dfb534172158a6b4bae4c0eb48.tar.bz2
rneovim-ddc401a91cc7d1dfb534172158a6b4bae4c0eb48.zip
vim-patch:8.2.2922: computing array length is done in various ways
Problem: Computing array length is done in various ways. Solution: Use ARRAY_LENGTH everywhere. (Ken Takata, closes vim/vim#8305) https://github.com/vim/vim/commit/eeec2548785b2dd245a31ab25d7bde0f88ea1a6d
Diffstat (limited to 'src/nvim/memory.c')
-rw-r--r--src/nvim/memory.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/nvim/memory.c b/src/nvim/memory.c
index 9683499eae..559a3cc435 100644
--- a/src/nvim/memory.c
+++ b/src/nvim/memory.c
@@ -573,7 +573,6 @@ void free_all_mem(void)
return;
}
entered_free_all_mem = true;
-
// Don't want to trigger autocommands from here on.
block_autocmds();