]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.0.2126: unused assignments when checking 'listchars' v9.0.2126
authorzeertzjq <zeertzjq@outlook.com>
Thu, 23 Nov 2023 19:47:16 +0000 (20:47 +0100)
committerChristian Brabandt <cb@256bit.org>
Thu, 23 Nov 2023 19:47:16 +0000 (20:47 +0100)
commit00624a2fa08d04bdded240d474e9cfdc193dbe10
tree17b6983aab398412244607f29ce699ad7ed60ef1
parent40ed6711bd385051021691980e8ce16375b4b510
patch 9.0.2126: unused assignments when checking 'listchars'

Problem:  Unused assignments when checking the value of 'listchars'.
Solution: Loop only once when just checking the value.  Add a test to
          check that this change doesn't cause double-free.

closes: #13559

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