summaryrefslogtreecommitdiff
path: root/bin/ksh/eval.c
diff options
context:
space:
mode:
Diffstat (limited to 'bin/ksh/eval.c')
-rw-r--r--bin/ksh/eval.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/bin/ksh/eval.c b/bin/ksh/eval.c
index 26d9cf8b412..9f2a5a51492 100644
--- a/bin/ksh/eval.c
+++ b/bin/ksh/eval.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: eval.c,v 1.16 2004/12/08 21:23:18 millert Exp $ */
+/* $OpenBSD: eval.c,v 1.17 2004/12/09 11:32:07 otto Exp $ */
/*
* Expansion - quoting, separation, substitution, globbing
@@ -819,7 +819,6 @@ varsub(xp, sp, word, stypep, slenp)
}
if (XPsize(wv) == 0) {
xp->str = null;
- xp->var = global(sp);
state = p[1] == '@' ? XNULLSUB : XSUB;
XPfree(wv);
} else {