1
0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-11-19 21:44:11 +01:00

Changed bin_eval() to default lastval to 0, just in case we have an

empty eval string.
This commit is contained in:
Wayne Davison 2004-01-05 17:07:21 +00:00
parent 76bd48d674
commit 5a8969ec2e

@ -4155,6 +4155,7 @@ bin_eval(char *nam, char **argv, Options ops, int func)
errflag = 0;
return 1;
}
lastval = 0;
execode(prog, 1, 0);
if (errflag) {
lastval = errflag;