]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.1.0767: A condition is always true in ex_getln.c v9.1.0767
authorzeertzjq <zeertzjq@outlook.com>
Tue, 8 Oct 2024 19:04:19 +0000 (21:04 +0200)
committerChristian Brabandt <cb@256bit.org>
Tue, 8 Oct 2024 19:04:19 +0000 (21:04 +0200)
commitc9aa6e4f2a040dc7f8411139d39d0463487100da
tree3f04b565d711c6ea333cf48b9f1281cb08ca1d87
parentcb1d1dcc879cadfe81ca0088b7e7ebbcd92a9ff3
patch 9.1.0767: A condition is always true in ex_getln.c

Problem:  A cmdlen == 0 condition is always true as ccline.cmdlen == 0
          was already checked above (after v9.1.0766).
Solution: Remove the condition and the variable.
          (zeertzjq)

closes: #15830

Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
src/ex_getln.c
src/testdir/test_mapping.vim
src/version.c