diff options
author | jimman2003 <jim41825@gmail.com> | 2021-06-20 21:20:43 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-20 14:20:43 -0400 |
commit | b585f723bcbaa10a091fce5a61659b331b1467b9 (patch) | |
tree | 622dfe81661dd5265a431a673306e7bc95aab59f /src | |
parent | 997a9c879215bc01a928de3e762955878314ec6a (diff) | |
download | rneovim-b585f723bcbaa10a091fce5a61659b331b1467b9.tar.gz rneovim-b585f723bcbaa10a091fce5a61659b331b1467b9.tar.bz2 rneovim-b585f723bcbaa10a091fce5a61659b331b1467b9.zip |
vim-patch:8.2.3020: unreachable code (#14866)
Problem: Unreachable code.
Solution: Remove the code. (closes vim/vim#8406)
https://github.com/vim/vim/commit/2fb749568662c86992aea3b596458b9e470f223d
Diffstat (limited to 'src')
-rw-r--r-- | src/nvim/ex_docmd.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/nvim/ex_docmd.c b/src/nvim/ex_docmd.c index 29347def4c..57d1339bb0 100644 --- a/src/nvim/ex_docmd.c +++ b/src/nvim/ex_docmd.c @@ -4184,10 +4184,6 @@ static char_u *invalid_range(exarg_T *eap) } break; case ADDR_UNSIGNED: - if (eap->line2 < 0) { - return (char_u *)_(e_invrange); - } - break; case ADDR_NONE: // Will give an error elsewhere. break; |