ash: code shrink

function                                             old     new   delta
ash_main                                            1218    1202     -16

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko 2021-01-03 12:14:58 +01:00
parent 3f8ec00b0c
commit 85158b600d

View File

@ -14312,9 +14312,9 @@ procargs(char **argv)
} }
if (mflag == 2) if (mflag == 2)
mflag = iflag; mflag = iflag;
/* Unset options which weren't explicitly set or unset */
for (i = 0; i < NOPTS; i++) for (i = 0; i < NOPTS; i++)
if (optlist[i] == 2) optlist[i] &= 1; /* same effect as "if (optlist[i] == 2) optlist[i] = 0;" */
optlist[i] = 0;
#if DEBUG == 2 #if DEBUG == 2
debug = 1; debug = 1;
#endif #endif