refactor(eval): fix clear_evalarg() called with wrong argument (#30899)

This commit is contained in:
zeertzjq 2024-10-22 15:23:34 +08:00 committed by GitHub
parent 85e04d9b87
commit 772614f9cc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1047,7 +1047,7 @@ char *eval_to_string_eap(char *arg, const bool join_list, exarg_T *eap,
retval = typval2string(&tv, join_list); retval = typval2string(&tv, join_list);
tv_clear(&tv); tv_clear(&tv);
} }
clear_evalarg(&EVALARG_EVALUATE, NULL); clear_evalarg(&evalarg, NULL);
return retval; return retval;
} }