mirror of
https://github.com/vim/vim.git
synced 2025-09-26 04:04:07 -04:00
patch 8.2.0168: Coverity warning for assigning NULL to an option
Problem: Coverity warning for assigning NULL to an option. Solution: Use empty string instead of NULL.
This commit is contained in:
@@ -644,6 +644,8 @@ def Test_expr7_option()
|
||||
set ts=8
|
||||
set grepprg=some\ text
|
||||
assert_equal('some text', &grepprg)
|
||||
&grepprg = test_null_string()
|
||||
assert_equal('', &grepprg)
|
||||
set grepprg&
|
||||
enddef
|
||||
|
||||
|
Reference in New Issue
Block a user