ash: fix compile breakage in !ENABLE_ASH_ALIAS config

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko 2021-09-28 17:41:56 +02:00
parent 03ed86b39e
commit 5b026d1ecf

View File

@ -10941,14 +10941,14 @@ static void freestrings(struct strpush *sp)
INT_OFF; INT_OFF;
do { do {
struct strpush *psp; struct strpush *psp;
#if ENABLE_ASH_ALIAS
if (sp->ap) { if (sp->ap) {
sp->ap->flag &= ~ALIASINUSE; sp->ap->flag &= ~ALIASINUSE;
if (sp->ap->flag & ALIASDEAD) { if (sp->ap->flag & ALIASDEAD) {
unalias(sp->ap->name); unalias(sp->ap->name);
} }
} }
#endif
psp = sp; psp = sp;
sp = sp->spfree; sp = sp->spfree;