summaryrefslogtreecommitdiff
path: root/var.c
diff options
context:
space:
mode:
Diffstat (limited to 'var.c')
-rw-r--r--var.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/var.c b/var.c
index 4e7f9a3..8ef453b 100644
--- a/var.c
+++ b/var.c
@@ -83,7 +83,7 @@ extern List *varlookup(char *name) {
return look->def;
if (look->extdef == NULL)
return NULL; /* variable was set to null, e.g., a=() echo foo */
- ret = parse_var(name, look->extdef);
+ ret = parse_var(look->extdef);
if (ret == NULL) {
look->extdef = NULL;
return NULL;