mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -04:00
patch 8.2.1560: using NULL pointers in some code
Problem: Using NULL pointers in some code. (James McCoy) Solution: Avoid adding to a NULL pointer. Use byte as unsigned.
This commit is contained in:
@@ -395,7 +395,7 @@ skip_expr_concatenate(
|
||||
typval_T rettv;
|
||||
int res;
|
||||
int vim9script = in_vim9script();
|
||||
garray_T *gap = &evalarg->eval_ga;
|
||||
garray_T *gap = evalarg == NULL ? NULL : &evalarg->eval_ga;
|
||||
int save_flags = evalarg == NULL ? 0 : evalarg->eval_flags;
|
||||
int evaluate = evalarg == NULL
|
||||
? FALSE : (evalarg->eval_flags & EVAL_EVALUATE);
|
||||
|
Reference in New Issue
Block a user