commit 9c65a18753404ec0419bac45969be6c9e5a2fbb6
parent 04b58cec86e24aaa395b27b2a9587b5cb329ea04
Author: zeertzjq <zeertzjq@outlook.com>
Date: Fri, 14 Apr 2023 14:24:08 +0800
vim-patch:8.2.1103: Coverity reports an unnecessary NULL check
Problem: Coverity reports an unnecessary NULL check.
Solution: Remove the check for NULL.
https://github.com/vim/vim/commit/e707c882b23a53d2c1f0d1f7fc3a7be247aca614
Co-authored-by: Bram Moolenaar <Bram@vim.org>
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/nvim/eval.c b/src/nvim/eval.c
@@ -7486,7 +7486,7 @@ void ex_echo(exarg_T *eap)
const int called_emsg_before = called_emsg;
evalarg_T evalarg;
- fill_evalarg_from_eap(&evalarg, eap, eap != NULL && eap->skip);
+ fill_evalarg_from_eap(&evalarg, eap, eap->skip);
if (eap->skip) {
emsg_skip++;