patch 9.0.0558: Coverity warns for possibly using NULL pointer
Problem: Coverity warns for possibly using NULL pointer.
Solution: Only use "evalarg" when not NULL.
diff --git a/src/eval.c b/src/eval.c
index d369df5..0102bd7 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -6380,7 +6380,8 @@
**arg = NUL;
idx = find_exported(rettv->vval.v_number, exp_name, &ufunc, &type,
- evalarg->eval_cctx, evalarg->eval_cstack, verbose);
+ evalarg == NULL ? NULL : evalarg->eval_cctx,
+ evalarg == NULL ? NULL : evalarg->eval_cstack, verbose);
**arg = cc;
if (idx < 0 && ufunc == NULL)