summaryrefslogtreecommitdiff
path: root/shell/ash.c
diff options
context:
space:
mode:
authorDenys Vlasenko2023-01-03 13:39:14 +0100
committerDenys Vlasenko2023-01-03 13:39:14 +0100
commitd488a5218b378631ab78c3358dab9498426bc777 (patch)
treec992b9b7a1b6f20b29e16820f5e9f277f2b067cb /shell/ash.c
parentbcb90b9c419c9d616f21d8fc143f9b343c064ed7 (diff)
downloadbusybox-d488a5218b378631ab78c3358dab9498426bc777.zip
busybox-d488a5218b378631ab78c3358dab9498426bc777.tar.gz
ash: trivial code shrink
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell/ash.c')
-rw-r--r--shell/ash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/ash.c b/shell/ash.c
index 99fdbce..18ccc13 100644
--- a/shell/ash.c
+++ b/shell/ash.c
@@ -10018,7 +10018,7 @@ mklocal(char *name, int flags)
setvareq(name, flags);
else
/* "local VAR" unsets VAR: */
- setvar0(name, NULL);
+ unsetvar(name);
}
}
lvp->vp = vp;