diff options
Diffstat (limited to 'src/evalfunc.c')
-rw-r--r-- | src/evalfunc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/evalfunc.c b/src/evalfunc.c index 135cb58894..0f266dceed 100644 --- a/src/evalfunc.c +++ b/src/evalfunc.c @@ -4354,7 +4354,7 @@ f_expandcmd(typval_T *argvars, typval_T *rettv) rettv->v_type = VAR_STRING; cmdstr = vim_strsave(tv_get_string(&argvars[0])); - memset(&eap, 0, sizeof(eap)); + CLEAR_FIELD(eap); eap.cmd = cmdstr; eap.arg = cmdstr; eap.argt |= EX_NOSPC; |