diff options
author | Marco Hinz <mh.codebro@gmail.com> | 2015-04-16 14:08:37 +0200 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2015-04-16 20:15:31 -0400 |
commit | c1a3d289d69b93092247e0eca3bf4b43992791a1 (patch) | |
tree | d33ae0c69563ef0cf9f51022d61b9994443f07c8 /src/nvim/diff.c | |
parent | 1b07f5711c4205bd22fd584afca7cfe7b99f45b3 (diff) | |
download | rneovim-c1a3d289d69b93092247e0eca3bf4b43992791a1.tar.gz rneovim-c1a3d289d69b93092247e0eca3bf4b43992791a1.tar.bz2 rneovim-c1a3d289d69b93092247e0eca3bf4b43992791a1.zip |
Eval: do not join a list if it's empty anyway #2441
This spares some work and also prevents list_join() from calling ga_init()
with a growsize of 0 which would lead to the nvimlog being littered with:
[warning @ ga_set_growsize:64] 17675 - trying to set an invalid ga_growsize: 0
Also in Vim 7.4.702
https://github.com/vim/vim/commit/5216f767d4070d0085de6fa1391e6f2991c1baa5
Diffstat (limited to 'src/nvim/diff.c')
0 files changed, 0 insertions, 0 deletions