Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.busybox.net/busybox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2021-09-28 18:41:56 +0300
committerDenys Vlasenko <vda.linux@googlemail.com>2021-09-28 18:41:56 +0300
commit5b026d1ecf2df93d31248153a7f5d0c45a5d12fa (patch)
tree1c079676049ef796ed8de808c2c118037dc39906 /shell
parent03ed86b39e887b2f4031961673fddd88fdeb493e (diff)
ash: fix compile breakage in !ENABLE_ASH_ALIAS config
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell')
-rw-r--r--shell/ash.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/shell/ash.c b/shell/ash.c
index 4bc4f55d0..4bf0615ea 100644
--- a/shell/ash.c
+++ b/shell/ash.c
@@ -10941,14 +10941,14 @@ static void freestrings(struct strpush *sp)
INT_OFF;
do {
struct strpush *psp;
-
+#if ENABLE_ASH_ALIAS
if (sp->ap) {
sp->ap->flag &= ~ALIASINUSE;
if (sp->ap->flag & ALIASDEAD) {
unalias(sp->ap->name);
}
}
-
+#endif
psp = sp;
sp = sp->spfree;