vim-patch:8.2.1103: Coverity reports an unnecessary NULL check

Problem:    Coverity reports an unnecessary NULL check.
Solution:   Remove the check for NULL.

e707c882b2

Co-authored-by: Bram Moolenaar <Bram@vim.org>
This commit is contained in:
zeertzjq
2023-04-14 14:24:08 +08:00
parent 04b58cec86
commit 9c65a18753

View File

@@ -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++;