Problem: Coverity warning for assigning NULL to an option.
Solution: Use empty string instead of NULL.
set ts=8
set grepprg=some\ text
assert_equal('some text', &grepprg)
+ &grepprg = test_null_string()
+ assert_equal('', &grepprg)
set grepprg&
enddef
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 168,
/**/
167,
/**/
--ectx.ec_stack.ga_len;
tv = STACK_TV_BOT(0);
if (tv->v_type == VAR_STRING)
+ {
s = tv->vval.v_string;
+ if (s == NULL)
+ s = (char_u *)"";
+ }
else if (tv->v_type == VAR_NUMBER)
n = tv->vval.v_number;
else