[git commit] ash: trivial code shrink

Denys Vlasenko vda.linux at googlemail.com
Tue Jan 3 12:39:14 UTC 2023


commit: https://git.busybox.net/busybox/commit/?id=d488a5218b378631ab78c3358dab9498426bc777
branch: https://git.busybox.net/busybox/commit/?id=refs/heads/master

Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
 shell/ash.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/shell/ash.c b/shell/ash.c
index 99fdbce7b..18ccc1329 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;


More information about the busybox-cvs mailing list