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;
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;